private DbResourceSqlServerDataManager GetManager()
 {
     var manager = new DbResourceSqlServerDataManager();
     manager.Configuration.ConnectionString = "SqlServerLocalizations";
     manager.Configuration.ResourceTableName = "Localizations";
     return manager;
 }
Esempio n. 2
0
        /// <summary>
        /// The get all resource.
        /// </summary>
        /// <returns>
        /// The <see cref="List"/>.
        /// </returns>
        public static List <ResourceIdItem> GetAllResource()
        {
            var dataManager = new DbResourceSqlServerDataManager();
            var list        = dataManager.GetAllResourceIds(ResourceSet);

            return(list);
        }
        private DbResourceSqlServerDataManager GetManager()
        {
            var manager = new DbResourceSqlServerDataManager();

            manager.Configuration.ConnectionString  = "SqlServerLocalizations";
            manager.Configuration.ResourceTableName = "Localizations";
            return(manager);
        }