/// <summary> /// Deprecated Method for adding a new object to the Logins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLogins(DBLogin dBLogin) { base.AddObject("Logins", dBLogin); }
/// <summary> /// Create a new DBLogin object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="dateOfBirth">Initial value of the DateOfBirth property.</param> /// <param name="datedCreated">Initial value of the DatedCreated property.</param> public static DBLogin CreateDBLogin(global::System.Int32 id, global::System.String email, global::System.String password, global::System.DateTime dateOfBirth, global::System.DateTime datedCreated) { DBLogin dBLogin = new DBLogin(); dBLogin.Id = id; dBLogin.Email = email; dBLogin.Password = password; dBLogin.DateOfBirth = dateOfBirth; dBLogin.DatedCreated = datedCreated; return dBLogin; }