Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Login object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="entryID">Initial value of the EntryID property.</param>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="active">Initial value of the Active property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="roleID">Initial value of the RoleID property.</param>
 public static Login CreateLogin(global::System.Guid id, global::System.Guid entryID, global::System.Guid categoryID, global::System.Boolean active, global::System.DateTime modifiedDate, global::System.Guid roleID)
 {
     Login login = new Login();
     login.ID = id;
     login.EntryID = entryID;
     login.CategoryID = categoryID;
     login.Active = active;
     login.ModifiedDate = modifiedDate;
     login.RoleID = roleID;
     return login;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Logins EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLogins(Login login)
 {
     base.AddObject("Logins", login);
 }