Advertisement
joaopaulofcc

Untitled

Nov 17th, 2021
628
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. using Microsoft.EntityFrameworkCore;
  2.  
  3. namespace conexaoPostgre.Models
  4. {
  5.     public class BDContexto : DbContext
  6.     {
  7.         public BDContexto(DbContextOptions<BDContexto> options) : base(options)
  8.         {
  9.         }
  10.         public DbSet<Colaborador> Colaboradores { get; set; }
  11.         public DbSet<Cargo> Cargos { get; set; }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement