Exemplo n.º 1
0
 public static EntityControl CreateEntityControl(string AssemblyName)
 {
     if (entity == null)
     {
         lock (padlock)
         {
             if (entity == null)
             {
                 entity = new EntityControl();
                 entity._AssemblyName = AssemblyName;
             }
         }
     }
     return(entity);
 }
Exemplo n.º 2
0
 public DALBase()
 {
     //control = EntityControl.CreateEntityControl("WebCX.Model");
     control = EntityControl.CreateEntityControl(Common.NHelper.AssemblyName);
 }