コード例 #1
0
 public static int Insert(RelacionesTablas_BD tablas, int[] m)
 {
     try
     {
         var procedimiento = new DataLayer();
         for (int i = 0; i < m.Length; i++)
         {
             tablas.TablaRelacionada = m[i];
             procedimiento.Insert(tablas);
         }
         return 1;
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
コード例 #2
0
 public static int Insert(RelacionesTablas_BD tablas, int[] m)
 {
     try
     {
         var procedimiento = new DataLayer();
         for (int i = 0; i < m.Length; i++)
         {
             tablas.TablaRelacionada = m[i];
             procedimiento.Insert(tablas);
         }
         return(1);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }