LinqConnect Metro
Posted: Sat 16 Mar 2013 16:23
Hi All
I was wondering the best approach to handle the context in a windows 8 app?
I am uses a reportistory pattern for data access.
Do I
1/ Create a public static variable to the context and all data access uses that single one?
or
2/ Instantiate a connection each time and close when completed?
Ade
I was wondering the best approach to handle the context in a windows 8 app?
I am uses a reportistory pattern for data access.
Do I
1/ Create a public static variable to the context and all data access uses that single one?
or
2/ Instantiate a connection each time and close when completed?
Ade