Ejemplo n.º 1
0
        /// <summary>
        /// Create a new profissional object.
        /// </summary>
        /// <param name="strNome">Initial value of the strNome property.</param>
        /// <param name="strCPF">Initial value of the strCPF property.</param>
        /// <param name="strCargo">Initial value of the strCargo property.</param>
        /// <param name="dtmHorario">Initial value of the dtmHorario property.</param>
        /// <param name="strEscala">Initial value of the strEscala property.</param>
        /// <param name="idProfissional">Initial value of the idProfissional property.</param>
        public static profissional Createprofissional(global::System.String strNome, global::System.String strCPF, global::System.String strCargo, global::System.DateTime dtmHorario, global::System.String strEscala, global::System.Int32 idProfissional)
        {
            profissional profissional = new profissional();

            profissional.strNome        = strNome;
            profissional.strCPF         = strCPF;
            profissional.strCargo       = strCargo;
            profissional.dtmHorario     = dtmHorario;
            profissional.strEscala      = strEscala;
            profissional.idProfissional = idProfissional;
            return(profissional);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the profissionals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToprofissionals(profissional profissional)
 {
     base.AddObject("profissionals", profissional);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Create a new profissional object.
 /// </summary>
 /// <param name="strNome">Initial value of the strNome property.</param>
 /// <param name="strCPF">Initial value of the strCPF property.</param>
 /// <param name="strCargo">Initial value of the strCargo property.</param>
 /// <param name="dtmHorario">Initial value of the dtmHorario property.</param>
 /// <param name="strEscala">Initial value of the strEscala property.</param>
 /// <param name="idProfissional">Initial value of the idProfissional property.</param>
 public static profissional Createprofissional(global::System.String strNome, global::System.String strCPF, global::System.String strCargo, global::System.DateTime dtmHorario, global::System.String strEscala, global::System.Int32 idProfissional)
 {
     profissional profissional = new profissional();
     profissional.strNome = strNome;
     profissional.strCPF = strCPF;
     profissional.strCargo = strCargo;
     profissional.dtmHorario = dtmHorario;
     profissional.strEscala = strEscala;
     profissional.idProfissional = idProfissional;
     return profissional;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the profissionals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToprofissionals(profissional profissional)
 {
     base.AddObject("profissionals", profissional);
 }