コード例 #1
0
        public object Create(object parent, object configContext, XmlNode section)
        {
            DataAccessConfiguration config = new DataAccessConfiguration();

            config.LoadFrom(section);
            return(config);
        }
コード例 #2
0
 static DataAccessConfiguration()
 {
     Current = ConfigurationManager.GetSection("codeArt.domainDriven.dataAccess") as DataAccessConfiguration;
     if (Current == null)
     {
         Current = new DataAccessConfiguration();
     }
 }