示例#1
0
        protected override void OnModelCreating(ModelBuilder builder)
        {
            TipoServicoMap.createInstance(builder);

            builder.HasDefaultSchema("db");
            base.OnModelCreating(builder);
        }
        protected override void OnModelCreating(ModelBuilder builder)
        {
            base.OnModelCreating(builder);
            TipoServicoMap.createInstance(builder);
            ServicoMap.createInstance(builder);
            PagamentoMap.createInstance(builder);
            PagamentoItemMap.createInstance(builder);

            builder.HasDefaultSchema("dbo");
            RelacionamentoServico.Create(builder);
        }