/// <summary> /// Create a new Admin object. /// </summary> /// <param name="adminID">Initial value of the AdminID property.</param> public static Admin CreateAdmin(global::System.Int32 adminID) { Admin admin = new Admin(); admin.AdminID = adminID; return admin; }
/// <summary> /// Deprecated Method for adding a new object to the Admins EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdmins(Admin admin) { base.AddObject("Admins", admin); }