Exemplo n.º 1
0
 public static void Release()
 {
     if (_localHandler != null)
     {
         _localHandler.Dispose();
         _localHandler = null;
     }
 }
Exemplo n.º 2
0
        public static DataModelContextHandler GetContext(string path)
        {
            if (_localHandler == null)
            {
                _localHandler = new DataModelContextHandler(path);
            }

            return(_localHandler);
        }
Exemplo n.º 3
0
 public SampleDataModelContext(DataModelContextHandler owner)
 {
     _owner = owner;
 }