예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the pessoa EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTopessoa(pessoa pessoa)
 {
     base.AddObject("pessoa", pessoa);
 }
예제 #2
0
 /// <summary>
 /// Create a new pessoa object.
 /// </summary>
 /// <param name="idPessoa">Initial value of the IdPessoa property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="cPF">Initial value of the CPF property.</param>
 public static pessoa Createpessoa(global::System.Int16 idPessoa, global::System.String nome, global::System.Int16 cPF)
 {
     pessoa pessoa = new pessoa();
     pessoa.IdPessoa = idPessoa;
     pessoa.Nome = nome;
     pessoa.CPF = cPF;
     return pessoa;
 }