示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserGroups(UserGroup userGroup)
 {
     base.AddObject("UserGroups", userGroup);
 }
示例#2
0
 /// <summary>
 /// Create a new UserGroup object.
 /// </summary>
 /// <param name="idUserGroup">Initial value of the idUserGroup property.</param>
 /// <param name="idUser">Initial value of the idUser property.</param>
 /// <param name="idGroup">Initial value of the idGroup 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 UserGroup CreateUserGroup(global::System.Int32 idUserGroup, global::System.Int32 idUser, global::System.Int32 idGroup, global::System.Boolean active, global::System.DateTimeOffset insDateTime, global::System.DateTimeOffset updDateTime)
 {
     UserGroup userGroup = new UserGroup();
     userGroup.idUserGroup = idUserGroup;
     userGroup.idUser = idUser;
     userGroup.idGroup = idGroup;
     userGroup.Active = active;
     userGroup.InsDateTime = insDateTime;
     userGroup.UpdDateTime = updDateTime;
     return userGroup;
 }