Beispiel #1
0
        public FileDocumentTypeBuilder <TFileDocument> AsFileStorage <TFileDocument>() where TFileDocument : IFileDocument
        {
            var builder = new FileDocumentTypeBuilder <TFileDocument>(c => Apply(c));

            _apply(this);
            return(builder);
        }
Beispiel #2
0
 internal void Apply <TFileDocument>(FileDocumentTypeBuilder <TFileDocument> modelBuilder) where TFileDocument : IFileDocument
 {
     IsFileDocument     = true;
     FileStorageOptions = modelBuilder.Build();
     _apply(this);
 }