/// <summary> /// Saves key Information /// </summary> /// <param name="user"></param> public void Save(string strKey) { if (strKey != null && !IsKeyExists(strKey)) { SerialKey key = new SerialKey(); key.Key = strKey; key.Created = DateTime.Now; _Data.SerialKeys.InsertOnSubmit(key); _Data.SubmitChanges(); } }
partial void UpdateSerialKey(SerialKey instance);
partial void DeleteSerialKey(SerialKey instance);
partial void InsertSerialKey(SerialKey instance);