示例#1
0
 public void DelLibrary(CheckTargetLibrary library)
 {
     if (library != null)
     {
         _realm.Write(() => _realm.Remove(library));
     }
 }
示例#2
0
 public void AddLibrary(string systemId, string systemName)
 {
     _realm.Write(() =>
     {
         CheckTargetLibrary target = new CheckTargetLibrary()
         {
             systemid   = systemId,
             systemname = systemName,
         };
         _realm.Add(target);
     });
 }