예제 #1
0
        /// <summary>
        /// Create a new hospital object.
        /// </summary>
        /// <param name="idHospital">Initial value of the idHospital property.</param>
        /// <param name="strRazaoSocial">Initial value of the strRazaoSocial property.</param>
        /// <param name="strCNPJ">Initial value of the strCNPJ property.</param>
        /// <param name="strEndereco">Initial value of the strEndereco property.</param>
        /// <param name="strTelefone">Initial value of the strTelefone property.</param>
        public static hospital Createhospital(global::System.Int32 idHospital, global::System.String strRazaoSocial, global::System.String strCNPJ, global::System.String strEndereco, global::System.String strTelefone)
        {
            hospital hospital = new hospital();

            hospital.idHospital     = idHospital;
            hospital.strRazaoSocial = strRazaoSocial;
            hospital.strCNPJ        = strCNPJ;
            hospital.strEndereco    = strEndereco;
            hospital.strTelefone    = strTelefone;
            return(hospital);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the hospitals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohospitals(hospital hospital)
 {
     base.AddObject("hospitals", hospital);
 }
예제 #3
0
 /// <summary>
 /// Create a new hospital object.
 /// </summary>
 /// <param name="idHospital">Initial value of the idHospital property.</param>
 /// <param name="strRazaoSocial">Initial value of the strRazaoSocial property.</param>
 /// <param name="strCNPJ">Initial value of the strCNPJ property.</param>
 /// <param name="strEndereco">Initial value of the strEndereco property.</param>
 /// <param name="strTelefone">Initial value of the strTelefone property.</param>
 public static hospital Createhospital(global::System.Int32 idHospital, global::System.String strRazaoSocial, global::System.String strCNPJ, global::System.String strEndereco, global::System.String strTelefone)
 {
     hospital hospital = new hospital();
     hospital.idHospital = idHospital;
     hospital.strRazaoSocial = strRazaoSocial;
     hospital.strCNPJ = strCNPJ;
     hospital.strEndereco = strEndereco;
     hospital.strTelefone = strTelefone;
     return hospital;
 }
예제 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the hospitals EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTohospitals(hospital hospital)
 {
     base.AddObject("hospitals", hospital);
 }