Exemple #1
0
        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));
            }
        }
Exemple #2
0
 private void LoadModel(string name)
 {
     Properties.Add(name);
     PropertiesForInsert.Add(name);
     PropertiesorUpdate.Add(name);
 }
Exemple #3
0
 private void LoadInternalControl(string name)
 {
     Properties.Add(name);
     PropertiesForInsert.Add(name);
 }
Exemple #4
0
 private void LoadForeignKey(string name)
 {
     Properties.Add(name);
     Keys.Add(name);
     PropertiesForInsert.Add(name);
 }