Пример #1
0
        public void logIP(string IPaddr)
        {
            IPaddress ip = new IPaddress();
            ip.IPaddr = IPaddr;
            ip.Timestamp = DateTime.Now;
            ip.UserID = 10;
            db.IPaddresses.InsertOnSubmit(ip);

            db.SubmitChanges();
        }
Пример #2
0
 public void Add(IPaddress ip)
 {
     db.IPaddresses.InsertOnSubmit(ip);
 }
Пример #3
0
 partial void DeleteIPaddress(IPaddress instance);
Пример #4
0
 partial void UpdateIPaddress(IPaddress instance);
Пример #5
0
 partial void InsertIPaddress(IPaddress instance);
Пример #6
0
		private void detach_IPaddresses(IPaddress entity)
		{
			this.SendPropertyChanging();
			entity.User = null;
		}
Пример #7
0
		private void attach_IPaddresses(IPaddress entity)
		{
			this.SendPropertyChanging();
			entity.User = this;
		}