Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Roles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRoles(Roles roles)
 {
     base.AddObject("Roles", roles);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Roles object.
 /// </summary>
 /// <param name="roleID">Initial value of the RoleID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Roles CreateRoles(global::System.Int32 roleID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Roles roles = new Roles();
     roles.RoleID = roleID;
     roles.AddDate = addDate;
     roles.RowVersion = rowVersion;
     return roles;
 }