Inheritance: IMappingPart
Exemplo n.º 1
0
        public virtual ImportPart ImportType <TImport>()
        {
            ImportPart importPart = new ImportPart(typeof(TImport));

            this.imports.Add(importPart);
            return(importPart);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Imports an existing type for use in the mapping.
        /// </summary>
        /// <typeparam name="TImport">Type to import.</typeparam>
        public virtual ImportPart ImportType <TImport>()
        {
            var part = new ImportPart(typeof(TImport));

            imports.Add(part);

            return(part);
        }