You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Create Dummy Console Application using Visual Studio 2010
2. If app.Config doen't exist add a app.config to console project.
3. Inisde app.config add the following the code (attached in system.data.xml file) underneath the configuration element.
4. Add an appropriate connection string to a Firebird server and Firebird database. Close app.config.
5. Add reference to FirebirdSql.Data.FirebirdClient.dll Assembly to project (verison 2.7.0.0).
6. Add reference to Entity Framework 4.3 (using nuget) to project.
7. Create a simple class with properties that reflects a table from your database, where each property represents a column.
8. Create a context object which extends the Entity Framework's DbContext object.
9. Add a property to this context object, give the property a type of DbSet<T> where T is the simple class from step 7.
10. Using Enitiy Framework inside the main method create a new instance of the context object and select the property in step 9 an then the .ToList method.
Submitted by: lennox mcintosh (lennox.mcintosh)
Attachments:
system.data.xml
system.data.xml
Problem occurs when using POCO types with entity framework to connect to an exisiting firebird database on a firebird server.
The text was updated successfully, but these errors were encountered: