/// <summary> /// Deprecated Method for adding a new object to the InstituteGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInstituteGroups(InstituteGroup instituteGroup) { base.AddObject("InstituteGroups", instituteGroup); }
/// <summary> /// Create a new InstituteGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="lastEmployeeNo">Initial value of the LastEmployeeNo property.</param> /// <param name="lastTransactionNo">Initial value of the LastTransactionNo property.</param> /// <param name="name">Initial value of the Name property.</param> public static InstituteGroup CreateInstituteGroup(global::System.Int32 id, global::System.Int32 lastEmployeeNo, global::System.Int32 lastTransactionNo, global::System.String name) { InstituteGroup instituteGroup = new InstituteGroup(); instituteGroup.Id = id; instituteGroup.LastEmployeeNo = lastEmployeeNo; instituteGroup.LastTransactionNo = lastTransactionNo; instituteGroup.Name = name; return instituteGroup; }