Esempio n. 1
0
        public long InsertPreProductionNotification(PreProductionNotification data)
        {
            long identity;

            using (var conn = new SqlConnection(conStr))
            {
                conn.Open();
                identity = conn.Insert(data);
                conn.Close();
            }
            return(identity);
        }
 private static void InsertPreProductionNotification(PreProductionNotification preProductionNotification)
 {
     preProductionNotificationsData.InsertPreProductionNotification(preProductionNotification);
 }