断言对象当前状态一定被写方式打开,该函数多用于自定义实体的属性操作函数中
void assertWriteEnabled(Mdesk::Boolean autoUndo = true, Mdesk::Boolean recordModified = true, Mdesk::Boolean setSaveModifyed = true);
McDbObject 方法