/// <summary> /// Create a new Class object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="uID">Initial value of the UID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="active">Initial value of the Active property.</param> public static Class CreateClass(global::System.Int32 id, global::System.String uID, global::System.String name, global::System.DateTime createdDate, global::System.Boolean active) { Class @class = new Class(); @class.ID = id; @class.UID = uID; @class.Name = name; @class.CreatedDate = createdDate; @class.Active = active; return @class; }
/// <summary> /// Deprecated Method for adding a new object to the Classes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToClasses(Class @class) { base.AddObject("Classes", @class); }