Hello All!
I am using Compact SQL 3.5 with EntityFramework and .Net 4.0. I create an object, set all properties and attempt to add it to the associated table and receive the error in the title above. I have no clue what or why this message is related to
or showing up. Below is a touch of code that shows the "context" of when this message shows up.
///
<summary>
///
Punch-in Punch-out, the timeclock object.
///
</summary>
public
partial
class
TIMEPUNCH
{
#region
Public Static Functions
public
static
void
AddTimePunch(TIMEPUNCH
tp)
{
using
(CompactDominicaEntities
objectContext = new
CompactDominicaEntities(CompactDominicaEntities.GetLocalEfConnectionString()))
{
objectContext.TIMEPUNCHES.AddObject(tp);
objectContext.SaveChanges();
}
}
#endregion
Public Static Functions
}