Пример #1
0
 //Metodo constructor
 public Receta()
 {
     db = new BR.SocialCookingEntities();
     usuarioController      = new Usuario();
     categoriasController   = new Categorias();
     imagenesController     = new ImagenesxReceta();
     ingredientesController = new Ingredientes();
     BrokerReceta           = new BR.Recetas();
 }
 //Metodo constructor
 public ImagenesxReceta()
 {
     db = new BR.SocialCookingEntities();
 }
Пример #3
0
 //Metodo constructor
 public Comentarios()
 {
     db = new BR.SocialCookingEntities();
     usuariosController = new CT.Usuario();
 }
Пример #4
0
 //Metodo constructor
 public Ingredientes()
 {
     db = new BR.SocialCookingEntities();
 }
Пример #5
0
 //Metodo constructor
 public Receta()
 {
     db = new BR.SocialCookingEntities();
 }
Пример #6
0
 //Metodo constructor
 public ImagenesxReceta()
 {
     db         = new BR.SocialCookingEntities();
     imgsToSave = new BR.imagenesxReceta();
 }