public void Add(PushServiceToken t) { PushServiceTokenDb d = new PushServiceTokenDb(t); context.AttachTo(TableName, d, null); context.UpdateObject(d); context.SaveChangesWithRetries(); context.Detach(d); }
public void Add(PushServiceToken t) { PushServiceTokenDb d = new PushServiceTokenDb(t); context.AddObject(TableName, d); context.SaveChangesWithRetries(); }