Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GroupBans EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGroupBans(GroupBans groupBans)
 {
     base.AddObject("GroupBans", groupBans);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new GroupBans object.
 /// </summary>
 /// <param name="gb_id">Initial value of the gb_id property.</param>
 /// <param name="g_id">Initial value of the g_id property.</param>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="gb_expires">Initial value of the gb_expires property.</param>
 /// <param name="gb_date">Initial value of the gb_date property.</param>
 public static GroupBans CreateGroupBans(global::System.Int32 gb_id, global::System.Int32 g_id, global::System.String u_username, global::System.DateTime gb_expires, global::System.DateTime gb_date)
 {
     GroupBans groupBans = new GroupBans();
     groupBans.gb_id = gb_id;
     groupBans.g_id = g_id;
     groupBans.u_username = u_username;
     groupBans.gb_expires = gb_expires;
     groupBans.gb_date = gb_date;
     return groupBans;
 }