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