예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmpresasPlazas EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmpresasPlazas(EmpresasPlaza empresasPlaza)
 {
     base.AddObject("EmpresasPlazas", empresasPlaza);
 }
예제 #2
0
 /// <summary>
 /// Create a new EmpresasPlaza object.
 /// </summary>
 /// <param name="iD_Empresa">Initial value of the ID_Empresa property.</param>
 /// <param name="empresaPlazaSucursal">Initial value of the EmpresaPlazaSucursal property.</param>
 /// <param name="nombrePlazaSucursal">Initial value of the NombrePlazaSucursal property.</param>
 /// <param name="registroPatronal">Initial value of the RegistroPatronal property.</param>
 /// <param name="zonaMinimo">Initial value of the ZonaMinimo property.</param>
 /// <param name="impuestoEstado">Initial value of the ImpuestoEstado property.</param>
 /// <param name="calle">Initial value of the Calle property.</param>
 /// <param name="numeroExterior">Initial value of the NumeroExterior property.</param>
 /// <param name="codigoPostal">Initial value of the CodigoPostal property.</param>
 /// <param name="colonia">Initial value of the Colonia property.</param>
 /// <param name="localidad">Initial value of the Localidad property.</param>
 /// <param name="municipio">Initial value of the Municipio property.</param>
 /// <param name="codigoEstado">Initial value of the CodigoEstado property.</param>
 /// <param name="codigoPais">Initial value of the CodigoPais property.</param>
 /// <param name="telefono1">Initial value of the Telefono1 property.</param>
 /// <param name="activo">Initial value of the Activo property.</param>
 /// <param name="iD_EmpPlazaSuc">Initial value of the ID_EmpPlazaSuc property.</param>
 public static EmpresasPlaza CreateEmpresasPlaza(global::System.Int32 iD_Empresa, global::System.Int32 empresaPlazaSucursal, global::System.String nombrePlazaSucursal, global::System.String registroPatronal, global::System.String zonaMinimo, global::System.Decimal impuestoEstado, global::System.String calle, global::System.String numeroExterior, global::System.Int32 codigoPostal, global::System.String colonia, global::System.String localidad, global::System.String municipio, global::System.Int32 codigoEstado, global::System.String codigoPais, global::System.String telefono1, global::System.String activo, global::System.Int32 iD_EmpPlazaSuc)
 {
     EmpresasPlaza empresasPlaza = new EmpresasPlaza();
     empresasPlaza.ID_Empresa = iD_Empresa;
     empresasPlaza.EmpresaPlazaSucursal = empresaPlazaSucursal;
     empresasPlaza.NombrePlazaSucursal = nombrePlazaSucursal;
     empresasPlaza.RegistroPatronal = registroPatronal;
     empresasPlaza.ZonaMinimo = zonaMinimo;
     empresasPlaza.ImpuestoEstado = impuestoEstado;
     empresasPlaza.Calle = calle;
     empresasPlaza.NumeroExterior = numeroExterior;
     empresasPlaza.CodigoPostal = codigoPostal;
     empresasPlaza.Colonia = colonia;
     empresasPlaza.Localidad = localidad;
     empresasPlaza.Municipio = municipio;
     empresasPlaza.CodigoEstado = codigoEstado;
     empresasPlaza.CodigoPais = codigoPais;
     empresasPlaza.Telefono1 = telefono1;
     empresasPlaza.Activo = activo;
     empresasPlaza.ID_EmpPlazaSuc = iD_EmpPlazaSuc;
     return empresasPlaza;
 }