-
as seen on Stack Overflow
- Search for 'Stack Overflow'
We want to use the Entity Framework (.NET 4.0) to build applications that can deal with Sql Server, MySQL and Oracle. And maybe Sqlite too.
It should be easy to switch the db vendor by some setting in a config file.
Is this possible? I prefer real life examples!
What kind of providers did you…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Using EF we can use LINQ to read data which is rather simple (especialy using fluent calls), but we have less control unless we write eSQL on our own.
Is writing eSQL database actually data store independant code?
So if we decide to change data store, can the same statements still be used?
Is writing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm working on a java project full of Hibernate (3.3.1) mapping files that have the following sort of declaration for most domain objects.
<property name="dateCreated" generated="insert">
<column name="date_created" default="getdate()" />
</property>
The problem here…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi there,
I was wondering, is there a way to create a timestamp in c# from a datetime?
I need a millisecond precision value that also works in Compact Framework(saying that since DateTime.ToBinary() does not exist in CF).
My problem is that i want to store this value in a database agnostic way so…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have an App in which several of the models are linked by hasMany/belongsTo associations. So for instance, A hasMany B, B hasMany C, C hasMany D, and D hasMany E. Also, E belongs to D, D belongs to C, C belongs to B, and B belongs to A. Using the Containable behavior has been great for controlling…
>>> More