/// <summary> /// Deprecated Method for adding a new object to the Bodegas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBodegas(EntidadBodega entidadBodega) { base.AddObject("Bodegas", entidadBodega); }
/// <summary> /// Create a new EntidadBodega object. /// </summary> /// <param name="id_bodega">Initial value of the id_bodega property.</param> /// <param name="nombre_bodega">Initial value of the nombre_bodega property.</param> /// <param name="direccion">Initial value of the direccion property.</param> /// <param name="telefono">Initial value of the telefono property.</param> /// <param name="correo_electronico">Initial value of the correo_electronico property.</param> public static EntidadBodega CreateEntidadBodega(global::System.Int32 id_bodega, global::System.String nombre_bodega, global::System.String direccion, global::System.Int32 telefono, global::System.String correo_electronico) { EntidadBodega entidadBodega = new EntidadBodega(); entidadBodega.id_bodega = id_bodega; entidadBodega.nombre_bodega = nombre_bodega; entidadBodega.direccion = direccion; entidadBodega.telefono = telefono; entidadBodega.correo_electronico = correo_electronico; return entidadBodega; }