コード例 #1
0
 /// <summary>
 /// Create a new TipoHomePage object.
 /// </summary>
 /// <param name="tipoHomePageId">Initial value of the TipoHomePageId property.</param>
 /// <param name="tipoPessoaId">Initial value of the TipoPessoaId property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="dataCriacao">Initial value of the DataCriacao property.</param>
 public static TipoHomePage CreateTipoHomePage(global::System.Int32 tipoHomePageId, global::System.Byte tipoPessoaId, global::System.String nome, global::System.DateTime dataCriacao)
 {
     TipoHomePage tipoHomePage = new TipoHomePage();
     tipoHomePage.TipoHomePageId = tipoHomePageId;
     tipoHomePage.TipoPessoaId = tipoPessoaId;
     tipoHomePage.Nome = nome;
     tipoHomePage.DataCriacao = dataCriacao;
     return tipoHomePage;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TipoHomePage EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTipoHomePage(TipoHomePage tipoHomePage)
 {
     base.AddObject("TipoHomePage", tipoHomePage);
 }