/// <summary> /// Deprecated Method for adding a new object to the ClassProperties EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClassProperties(ClassProperty classProperty) { base.AddObject("ClassProperties", classProperty); }
/// <summary> /// Create a new ClassProperty object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="classID">Initial value of the ClassID property.</param> /// <param name="propertyName">Initial value of the PropertyName property.</param> /// <param name="propertyType">Initial value of the PropertyType property.</param> /// <param name="validateOnSet">Initial value of the ValidateOnSet property.</param> public static ClassProperty CreateClassProperty(global::System.Int64 id, global::System.Int64 classID, global::System.String propertyName, global::System.String propertyType, global::System.Boolean validateOnSet) { ClassProperty classProperty = new ClassProperty(); classProperty.ID = id; classProperty.ClassID = classID; classProperty.PropertyName = propertyName; classProperty.PropertyType = propertyType; classProperty.ValidateOnSet = validateOnSet; return classProperty; }