Exemplo n.º 1
0
        public static void logEvent(EventType evntType, int userId, string message)
        {
            Event evnt = new Event();

            evnt.DateTime = DateTime.Now.ToUniversalTime();
            evnt.Message = message;
            evnt.Type = (int) evntType;
            evnt.UserId = userId;
        }
		private void detach_Events(Event entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}
		private void attach_Events(Event entity)
		{
			this.SendPropertyChanging();
			entity.User = this;
		}
 partial void DeleteEvent(Event instance);
 partial void UpdateEvent(Event instance);
 partial void InsertEvent(Event instance);