예제 #1
0
        /// <summary>
        /// К-тор.
        /// </summary>
        /// <param name="metadataAdapter">Адаптер работы с метаданными системы.</param>
        internal DBObjectTableActivator(MetadataAdapter metadataAdapter)
        {
            if (metadataAdapter == null)
            {
                throw new ArgumentNullException("metadataAdapter");
            }

            this.MetadataAdapter = metadataAdapter;
        }
예제 #2
0
        /// <summary>
        /// К-тор.
        /// </summary>
        /// <param name="metadataAdapter">Адаптер схемы метаданных.</param>
        /// <param name="connection">Подключение к БД.</param>
        protected MetadataObjectAdapter(MetadataAdapter metadataAdapter)
        {
            if (metadataAdapter == null)
            {
                throw new ArgumentNullException("MetadataAdapter");
            }

            this.MetadataAdapter = metadataAdapter;
        }
        public DBObjectTableSchemaAdapter(MetadataTypeDefinition classDefinition, MetadataAdapter schemaAdapter)
        {
            if (classDefinition == null)
            {
                throw new ArgumentNullException("classDefinition");
            }

            if (schemaAdapter == null)
            {
                throw new ArgumentNullException("schemaAdapter");
            }

            this.ClassDefinition = classDefinition;
            this.SchemaAdapter   = schemaAdapter;
        }
예제 #4
0
 /// <summary>
 /// К-тор.
 /// </summary>
 /// <param name="schemaAdapter">Адаптер схемы метаданных.</param>
 /// <param name="connection">Подключение к БД.</param>
 protected SingleTableObjectAdapter(MetadataAdapter schemaAdapter)
     : base(schemaAdapter)
 {
     this.Init();
 }
예제 #5
0
 /// <summary>
 /// К-тор.
 /// </summary>
 /// <param name="metadataAdapter">Адаптер работы с метаданными хранилища.</param>
 internal ReplicationFolderAdapter(MetadataAdapter metadataAdapter)
     : base(metadataAdapter)
 {
 }
예제 #6
0
 /// <summary>
 /// К-тор.
 /// </summary>
 /// <param name="metadataAdapter">Адаптер метаданных.</param>
 internal StorageAdapter(MetadataAdapter metadataAdapter)
     : base(metadataAdapter)
 {
 }
예제 #7
0
 /// <summary>
 /// К-тор.
 /// </summary>
 /// <param name="metadataAdapter">Адаптер работы с метаданными хранилища.</param>
 internal TokenAdapter(MetadataAdapter metadataAdapter)
     : base(metadataAdapter)
 {
 }
예제 #8
0
 /// <summary>
 /// К-тор.
 /// </summary>
 /// <param name="metadataAdapter">Адаптер работы с метаданными хранилища.</param>
 internal DBFolderAdapter(MetadataAdapter metadataAdapter)
     : base(metadataAdapter)
 {
 }
예제 #9
0
 /// <summary>
 /// К-тор.
 /// </summary>
 /// <param name="schemaAdapter"></param>
 public DistributedTableAdapter(MetadataAdapter metadataAdapter)
     : base(metadataAdapter)
 {
 }