/// <summary> /// Deprecated Method for adding a new object to the membergroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTomembergroups(membergroup membergroup) { base.AddObject("membergroups", membergroup); }
/// <summary> /// Create a new membergroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="groupTypeId">Initial value of the GroupTypeId property.</param> /// <param name="church">Initial value of the Church property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static membergroup Createmembergroup(global::System.Int32 id, global::System.String name, global::System.Int32 groupTypeId, global::System.String church, global::System.Boolean isActive) { membergroup membergroup = new membergroup(); membergroup.Id = id; membergroup.Name = name; membergroup.GroupTypeId = groupTypeId; membergroup.Church = church; membergroup.IsActive = isActive; return membergroup; }