private void LoadRelacionalKey(string name) { Properties.Add(name); Keys.Add(name); PropertiesForInsert.Add(name); if (string.IsNullOrEmpty(RelacionalKey)) { RelacionalKey = name; } else { throw new Exception(string.Format("The entity '{0}' must have only one RelacionalKey", Name)); } }
private void LoadModel(string name) { Properties.Add(name); PropertiesForInsert.Add(name); PropertiesorUpdate.Add(name); }
private void LoadInternalControl(string name) { Properties.Add(name); PropertiesForInsert.Add(name); }
private void LoadForeignKey(string name) { Properties.Add(name); Keys.Add(name); PropertiesForInsert.Add(name); }