public StringBuilderCodeWriter(  
           [NotNull] IFileService fileService,
           [NotNull] DbContextWriter dbContextWriter,
           [NotNull] EntityTypeWriter entityTypeWriter)
           : base(fileService)  
       {  
           Check.NotNull(dbContextWriter, nameof(dbContextWriter));  
           Check.NotNull(entityTypeWriter, nameof(entityTypeWriter));  
 
           DbContextWriter = dbContextWriter;
           EntityTypeWriter = entityTypeWriter;
       }  
예제 #2
0
        public StringBuilderCodeWriter(
            [NotNull] IFileService fileService,
            [NotNull] DbContextWriter dbContextWriter,
            [NotNull] EntityTypeWriter entityTypeWriter)
            : base(fileService)
        {
            Check.NotNull(dbContextWriter, nameof(dbContextWriter));
            Check.NotNull(entityTypeWriter, nameof(entityTypeWriter));

            DbContextWriter  = dbContextWriter;
            EntityTypeWriter = entityTypeWriter;
        }