コード例 #1
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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);
 }
コード例 #2
0
ファイル: Model1.Designer.cs プロジェクト: protechdm/TMD
 /// <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;
 }