Beispiel #1
0
        public static void Info(string message)
        {
            var db          = new ssmDataContext();
            var logActivity = new logActivity {
                action = message, informAdmin = false
            };

            db.logActivities.InsertOnSubmit(logActivity);
            db.SubmitChanges();
        }
Beispiel #2
0
        public static void Warning(string message, int sellerId)
        {
            var db          = new ssmDataContext();
            var logActivity = new logActivity {
                action = message, SellerId = sellerId, informAdmin = true, date = DateTime.Now
            };

            db.logActivities.InsertOnSubmit(logActivity);
            db.SubmitChanges();
        }
Beispiel #3
0
 partial void DeletelogActivity(logActivity instance);
Beispiel #4
0
 partial void UpdatelogActivity(logActivity instance);
Beispiel #5
0
 partial void InsertlogActivity(logActivity instance);