0
I am starting to work with the Entity Framework, and I need some example of how I can define for my tables the Schema’s that each one is contained. My database was created as in the example:
/*schema [Pes] -> relativo ao contexto Pessoa*/
Pes.Pessoa;
Pes.PessoaFisica;
Pes.EstadoCivil;
/*schema [Sis] -> relativo ao contexto do Sistema*/
Sis.Versao;
Sis.Configuracao;
Sis.Usuario;
Starting from this structure, how can I pass to the Entityframework that table Versao
defined in the Schema [Sis]
?
like Dataannotation, I working this way is declared directly in class only, I do not need to specify anything else in Dbcontext?
– LeandroLuk
Nope. Nothing more.
– Jéf Bueno