示例#1
0
 /// <summary>
 /// Initialize and sets initial configurations for the container.
 /// </summary>
 private void InitComponents()
 {
     Connection = Context.GetInstance();
     Context.Configuration.LazyLoadingEnabled   = false;
     Context.Configuration.ProxyCreationEnabled = false;
     //
     DataLayerExceptionFactory = new DataLayerExceptionFactory();
 }