Пример #1
0
        public int GuardarLcr(string nombre)
        {
            int    result_Control;
            cf_Lcr Control = new cf_Lcr();

            Control.EntidadId = 1;
            Control.NombreLcr = nombre;
            Control.EstadoId  = 1;
            result_Control    = InstanceOF.Establecer_Objeto(Control, typeof(cf_Lcr), new List <string>(new string[] { "Id" }), InstanceOF.PROCESO_SP.CF_CONTROL_CREAR);
            return(result_Control);
        }
Пример #2
0
 public int GuardarLcr(string nombre)
 {
     int result_Control;
     cf_Lcr Control = new cf_Lcr();
     Control.EntidadId = 1;
     Control.NombreLcr = nombre;
     Control.EstadoId = 1;            
     result_Control = InstanceOF.Establecer_Objeto(Control, typeof(cf_Lcr), new List<string>(new string[] { "Id" }), InstanceOF.PROCESO_SP.CF_CONTROL_CREAR);                                
     return result_Control;
 }