Ejemplo n.º 1
0
        /// <summary>
        /// Create a new accAdministrator object.
        /// </summary>
        /// <param name="idPerson">Initial value of the IdPerson property.</param>
        /// <param name="idProfile">Initial value of the IdProfile property.</param>
        /// <param name="codeName">Initial value of the CodeName property.</param>
        /// <param name="email">Initial value of the Email property.</param>
        /// <param name="login">Initial value of the Login property.</param>
        /// <param name="password">Initial value of the Password property.</param>
        public static accAdministrator CreateaccAdministrator(global::System.Int32 idPerson, global::System.Int32 idProfile, global::System.String codeName, global::System.String email, global::System.String login, global::System.String password)
        {
            accAdministrator accAdministrator = new accAdministrator();

            accAdministrator.IdPerson  = idPerson;
            accAdministrator.IdProfile = idProfile;
            accAdministrator.CodeName  = codeName;
            accAdministrator.Email     = email;
            accAdministrator.Login     = login;
            accAdministrator.Password  = password;
            return(accAdministrator);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the accAdministrators EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaccAdministrators(accAdministrator accAdministrator)
 {
     base.AddObject("accAdministrators", accAdministrator);
 }