コード例 #1
0
 /// <summary>
 /// Create a new Group object.
 /// </summary>
 /// <param name="idGroup">Initial value of the idGroup property.</param>
 /// <param name="idZone">Initial value of the idZone property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="insDateTime">Initial value of the InsDateTime property.</param>
 /// <param name="updDateTime">Initial value of the UpdDateTime property.</param>
 public static Group CreateGroup(global::System.Int32 idGroup, global::System.Int32 idZone, global::System.String code, global::System.String name, global::System.Boolean active, global::System.DateTimeOffset insDateTime, global::System.DateTimeOffset updDateTime)
 {
     Group group = new Group();
     group.idGroup = idGroup;
     group.idZone = idZone;
     group.Code = code;
     group.Name = name;
     group.Active = active;
     group.InsDateTime = insDateTime;
     group.UpdDateTime = updDateTime;
     return group;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Groups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroups(Group group)
 {
     base.AddObject("Groups", group);
 }