I have a Content Type called Activity that inherits form Event and i have a list instance called Activities and its content type is Activity When SPMetal Generates the entities i see the following classes
public partial class Activity : Event and public partial class ActivitiesActivity : Activity
when i write the following code to save a new entity
public void Save(Activity activity)
{
var context = new MACEntitiesDataContext("http://localhost:8088");
var activities = context.GetList<Activity>("Activity");
activities.InsertOnSubmit(activity);
context.SubmitChanges();
}
it throws
Columns associated with mappings have been deleted/renamed
Another resolution - I was attempting to SET a nullable bool value from an InfoPath form. My experience is that it is okay to update the xml values and save the form content back to the library, but it is not ok to update the promoted columns in such a case.