0
Vote

Adding isDatabaseName to Csla ObjectContextManager

description

  • Exemplas will be taken from the demo project *
    Today you can change the connection name using the class :
     
    public sealed class NorthwindEntities2Database
    {
       public static string Name = "NorthwindEntities2";
    }
     
    The new class will be :
     
    public sealed class NorthwindEntities2Database
    {
      public static string Name = "NorthwindEntities2";
      public static bool isDatabaseName= true;  // NEW
    }
     
    This mean that if  isDatabaseName = false , you can set the connection string i the Name property instead of an App.Config connection string.

comments