/// <summary> /// Create a new registration object. /// </summary> /// <param name="reg_Id">Initial value of the Reg_Id property.</param> /// <param name="fname">Initial value of the Fname property.</param> /// <param name="lname">Initial value of the Lname property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="confirmPassword">Initial value of the ConfirmPassword property.</param> public static registration Createregistration(global::System.Int32 reg_Id, global::System.String fname, global::System.String lname, global::System.String email, global::System.String password, global::System.String confirmPassword) { registration registration = new registration(); registration.Reg_Id = reg_Id; registration.Fname = fname; registration.Lname = lname; registration.Email = email; registration.Password = password; registration.ConfirmPassword = confirmPassword; return registration; }
private bool Filterregistration(registration entity) { return (entity.Reg_Id == this.Reg_id); }
/// <summary> /// Deprecated Method for adding a new object to the registrations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToregistrations(registration registration) { base.AddObject("registrations", registration); }
private bool Filterregistration(registration entity) { return(entity.Reg_Id == this.Reg_id); }