public GenericFilterHelper( IDomainObjectModel domainObjectModel, IDataStructureReadParameters dataStructureReadParameters) { _domainObjectModel = domainObjectModel; _dataStructureReadParameters = dataStructureReadParameters; }
public SimpleWindowsAuthorizationProvider( IDomainObjectModel domainObjectModel, Lazy<IPermissionLoader> permissionLoader) { _domainObjectModel = domainObjectModel; _permissionLoader = permissionLoader; }
public static XmlDataArray Create <T>(IDomainObjectModel domainObjectModel, IEnumerable <T> data) where T : class { return(new XmlDataArray(domainObjectModel, typeof(T)) { Data = (data == null || data.Count() == 0) ? null : data.ToArray() }); }
public EntityFrameworkGenerateMetadataFiles(ILogProvider logProvider, IDomainObjectModel dom, ConnectionString connectionString, GeneratedFilesCache cache) { _performanceLogger = logProvider.GetLogger("Performance"); _dom = dom; _connectionString = connectionString; _cache = cache; }
public static XmlDomainData Create <T>(IDomainObjectModel domainObjectModel, T data) { return(new XmlDomainData(domainObjectModel, typeof(T)) { _data = data }); }
public ServerCommandsUtility( ILogProvider logProvider, ApplyFiltersOnClientRead applyFiltersOnClientRead, IDomainObjectModel domainObjectModel) { _logger = logProvider.GetLogger(GetType().Name); _applyFiltersOnClientRead = applyFiltersOnClientRead; _domainObjectModel = domainObjectModel; }
public NHibernateMappingGenerator( ICodeGenerator codeGenerator, IPluginsContainer<IConceptMappingCodeGenerator> plugins, IDomainObjectModel domainObjectModel, ILogProvider logProvider) { _plugins = plugins; _codeGenerator = codeGenerator; _domainObjectModel = domainObjectModel; _performanceLogger = logProvider.GetLogger("Performance"); }
public ServiceUtility( IProcessingEngine processingEngine, ILogProvider logProvider, IDomainObjectModel domainObjectModel) { _processingEngine = processingEngine; _logger = logProvider.GetLogger("RestService"); _commandsLogger = logProvider.GetLogger("RestService Commands"); _performanceLogger = logProvider.GetLogger("Performance"); _logger.Trace("Rest Service loader initialized."); _domainObjectModel = domainObjectModel; }
public static Type GetType(this IDomainObjectModel dom, string name) { foreach (Assembly a in dom.Assemblies) { Type type = a.GetType(name); if (type != null) { return(type); } } return(null); }
public ClaimGenerator( IPluginsContainer<IClaimProvider> claimProviders, IDslModel dslModel, IDomainObjectModel domainObjectModel, ILogProvider logProvider, IClaimRepository claimRepository) { _claimProviders = claimProviders; _dslModel = dslModel; _performanceLogger = logProvider.GetLogger("Performance"); _logger = logProvider.GetLogger("ClaimGenerator"); _claimRepository = claimRepository; }
public NHibernatePersistenceEngine( ILogProvider logProvider, INHibernateMapping nHibernateMapping, IDomainObjectModel domainObjectModel, ConnectionString connectionString, IEnumerable<INHibernateConfigurationExtension> nHibernateConfigurationExtensions) { _performanceLogger = logProvider.GetLogger("Performance"); _nHibernateMapping = nHibernateMapping; _domainObjectModel = domainObjectModel; _connectionString = connectionString; _nHibernateConfigurationExtensions = nHibernateConfigurationExtensions; }
public RhetosService( IProcessingEngine processingEngine, IEnumerable<ICommandInfo> commands, ILogProvider logProvider, IDomainObjectModel domainObjectModel) { _processingEngine = processingEngine; _commands = commands; _logger = logProvider.GetLogger("IServerApplication.RhetosService.Execute"); _commandsLogger = logProvider.GetLogger("IServerApplication Commands"); _commandResultsLogger = logProvider.GetLogger("IServerApplication CommandResults"); _performanceLogger = logProvider.GetLogger("Performance"); _domainObjectModel = domainObjectModel; }
public ApplicationGenerator( ILogProvider logProvider, ISqlExecuter sqlExecuter, IDslModel dslModel, IDomainObjectModel domGenerator, IPluginsContainer <IGenerator> generatorsContainer, DatabaseCleaner databaseCleaner, DataMigration dataMigration, IDatabaseGenerator databaseGenerator, IDslScriptsProvider dslScriptsLoader) { _deployPackagesLogger = logProvider.GetLogger("DeployPackages"); _performanceLogger = logProvider.GetLogger("Performance"); _sqlExecuter = sqlExecuter; _dslModel = dslModel; _domGenerator = domGenerator; _generatorsContainer = generatorsContainer; _databaseCleaner = databaseCleaner; _dataMigration = dataMigration; _databaseGenerator = databaseGenerator; _dslScriptsLoader = dslScriptsLoader; }
public static IEnumerable <Type> GetTypes(this IDomainObjectModel dom) { return(dom.Assemblies.SelectMany(assembly => assembly.GetTypes())); }
/// <param name="domainObjectModel">The parameter may be null is the object model is not yet generated.</param> public GenericDataContractResolver(IDomainObjectModel domainObjectModel) { _domainObjectModel = domainObjectModel; }
/// <param name="domainObjectModel"> /// Use of domainObjectModel.GetType(string) is needed along with Type.GetType(string) to find objects in the generate domain object model. /// Since DOM assembly is not directly referenced from other dlls, Type.GetType will not find types in DOM /// before the Dom.GetType is used. The problem usually manifests on the first server call after restarting the process. /// The parameter may be null is the object model is not yet generated. /// </param> public XmlUtility(IDomainObjectModel domainObjectModel) { _resolver = new GenericDataContractResolver(domainObjectModel); }
public GenericFilterHelper(IDomainObjectModel domainObjectModel) { _domainObjectModel = domainObjectModel; }
public XmlDataArray(IDomainObjectModel domainObjectModel, Type elementType, object[] data) { _xmlUtility = new XmlUtility(domainObjectModel); this.ElementType = elementType; this.Data = data; }
public RestImpl(IProcessingEngine processingEngine, IDomainObjectModel domainObjectModel) { _processingEngine = processingEngine; _domainObjectModel = domainObjectModel; }
public XmlDomainData(IDomainObjectModel domainObjectModel, Type elementType, object data) { _xmlUtility = new XmlUtility(domainObjectModel); _elementType = elementType; _data = data; }
public XmlDomainData(IDomainObjectModel domainObjectModel, Type elementType) : this(domainObjectModel, elementType, null) { }
public SecurityRestService(IDomainObjectModel domainObjectModel) { _restImpl = new RestImpl(domainObjectModel); }
public XmlDataTypeProvider(IDomainObjectModel domainObjectModel) { _domainObjectModel = domainObjectModel; }
public ReflectionHelper(string entityName, IDomainObjectModel domainObjectModel, Lazy <IRepository> repository) { _entityName = entityName; _domainObjectModel = domainObjectModel; _repository = repository; }
public EntityFrameworkGenerateMetadataFiles(ILogProvider logProvider, IDomainObjectModel dom, ConnectionString connectionString) { _performanceLogger = logProvider.GetLogger("Performance"); _dom = dom; _connectionString = connectionString; }
public QueryParameters(IRhetosComponent <IDomainObjectModel> rhetosDomainObjectModel) { this.domainObjectModel = rhetosDomainObjectModel.Value; }