/** * Método para crear nuevo registro */ public static void insert(String name) { using (var conn = new db_entities()) { try { conn.SP_ENTERPRISE_INSERT(name, DateTime.Now, 1); } catch (Exception e) { throw e; } } }
/** * Método para crear nuevo registro */ public static void insert(String name) { using (var conn = new db_entities()) { try { conn.SP_ENTERPRISE_INSERT(name, DateTime.Now, 1); } catch (Exception e) { throw e; } } }