Exemple #1
0
        /// <summary>
        /// Create a new paciente object.
        /// </summary>
        /// <param name="idPaciente">Initial value of the idPaciente property.</param>
        /// <param name="strNome">Initial value of the strNome property.</param>
        /// <param name="strCategoria">Initial value of the strCategoria property.</param>
        /// <param name="strDataDeNascimento">Initial value of the strDataDeNascimento property.</param>
        /// <param name="strCpf">Initial value of the strCpf property.</param>
        /// <param name="strEndereco">Initial value of the strEndereco property.</param>
        /// <param name="strTelefone">Initial value of the strTelefone property.</param>
        public static paciente Createpaciente(global::System.Int32 idPaciente, global::System.String strNome, global::System.String strCategoria, global::System.String strDataDeNascimento, global::System.String strCpf, global::System.String strEndereco, global::System.String strTelefone)
        {
            paciente paciente = new paciente();

            paciente.idPaciente          = idPaciente;
            paciente.strNome             = strNome;
            paciente.strCategoria        = strCategoria;
            paciente.strDataDeNascimento = strDataDeNascimento;
            paciente.strCpf      = strCpf;
            paciente.strEndereco = strEndereco;
            paciente.strTelefone = strTelefone;
            return(paciente);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the pacientes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopacientes(paciente paciente)
 {
     base.AddObject("pacientes", paciente);
 }
 /// <summary>
 /// Create a new paciente object.
 /// </summary>
 /// <param name="idPaciente">Initial value of the idPaciente property.</param>
 /// <param name="strNome">Initial value of the strNome property.</param>
 /// <param name="strCategoria">Initial value of the strCategoria property.</param>
 /// <param name="strDataDeNascimento">Initial value of the strDataDeNascimento property.</param>
 /// <param name="strCpf">Initial value of the strCpf property.</param>
 /// <param name="strEndereco">Initial value of the strEndereco property.</param>
 /// <param name="strTelefone">Initial value of the strTelefone property.</param>
 public static paciente Createpaciente(global::System.Int32 idPaciente, global::System.String strNome, global::System.String strCategoria, global::System.String strDataDeNascimento, global::System.String strCpf, global::System.String strEndereco, global::System.String strTelefone)
 {
     paciente paciente = new paciente();
     paciente.idPaciente = idPaciente;
     paciente.strNome = strNome;
     paciente.strCategoria = strCategoria;
     paciente.strDataDeNascimento = strDataDeNascimento;
     paciente.strCpf = strCpf;
     paciente.strEndereco = strEndereco;
     paciente.strTelefone = strTelefone;
     return paciente;
 }
Exemple #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the pacientes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopacientes(paciente paciente)
 {
     base.AddObject("pacientes", paciente);
 }