/// <summary> /// Deprecated Method for adding a new object to the MPAdmins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMPAdmins(MPAdmin mPAdmin) { base.AddObject("MPAdmins", mPAdmin); }
/// <summary> /// Create a new MPAdmin object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="password">Initial value of the Password property.</param> public static MPAdmin CreateMPAdmin(global::System.Int32 id, global::System.String username, global::System.String password) { MPAdmin mPAdmin = new MPAdmin(); mPAdmin.Id = id; mPAdmin.Username = username; mPAdmin.Password = password; return mPAdmin; }