LINQ EF not saving to database...
- by Keith Barrows
I guess this is a continuation of the last question I asked: http://stackoverflow.com/questions/2587542/bulk-insert-and-update-with-ado-net-entity-framework.
I am not getting any errors while doing inserts yet no data is actually going into my DB. My DB is a SDF file (SQL CE). Any ideas what to check?
My app.config looks like:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="Lab_Use_Billing.Properties.Settings.LabUseConnectionString"
connectionString="Data Source=|DataDirectory|\Models\LabUse.sdf"
providerName="Microsoft.SqlServerCe.Client.3.5" />
<add name="LabUseEntities"
connectionString="metadata=res://*/Models.LabUseEntities.csdl|res://*/Models.LabUseEntities.ssdl|res://*/Models.LabUseEntities.msl;
provider=System.Data.SqlServerCe.3.5;
provider connection string="Data Source=|DataDirectory|\Models\LabUse.sdf""
providerName="System.Data.EntityClient" />
</connectionStrings>
</configuration>
TIA