Exemplo n.º 1
0
 /// <summary>
 /// Create a new tblContactCategory object.
 /// </summary>
 /// <param name="idContactCategory">Initial value of the idContactCategory property.</param>
 /// <param name="nameContactCategory">Initial value of the nameContactCategory property.</param>
 /// <param name="dateCreated">Initial value of the dateCreated property.</param>
 /// <param name="dateModified">Initial value of the dateModified property.</param>
 /// <param name="createdByLogin">Initial value of the CreatedByLogin property.</param>
 /// <param name="modifiedByLogin">Initial value of the ModifiedByLogin property.</param>
 public static tblContactCategory CreatetblContactCategory(global::System.Int32 idContactCategory, global::System.String nameContactCategory, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin)
 {
     tblContactCategory tblContactCategory = new tblContactCategory();
     tblContactCategory.idContactCategory = idContactCategory;
     tblContactCategory.nameContactCategory = nameContactCategory;
     tblContactCategory.dateCreated = dateCreated;
     tblContactCategory.dateModified = dateModified;
     tblContactCategory.CreatedByLogin = createdByLogin;
     tblContactCategory.ModifiedByLogin = modifiedByLogin;
     return tblContactCategory;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblContactCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblContactCategories(tblContactCategory tblContactCategory)
 {
     base.AddObject("tblContactCategories", tblContactCategory);
 }