/// <summary> /// Create a new tblContactType object. /// </summary> /// <param name="idContactType">Initial value of the idContactType property.</param> /// <param name="idContactCategory">Initial value of the idContactCategory property.</param> /// <param name="nameContactType">Initial value of the nameContactType 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 tblContactType CreatetblContactType(global::System.Int32 idContactType, global::System.Int32 idContactCategory, global::System.String nameContactType, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblContactType tblContactType = new tblContactType(); tblContactType.idContactType = idContactType; tblContactType.idContactCategory = idContactCategory; tblContactType.nameContactType = nameContactType; tblContactType.dateCreated = dateCreated; tblContactType.dateModified = dateModified; tblContactType.CreatedByLogin = createdByLogin; tblContactType.ModifiedByLogin = modifiedByLogin; return tblContactType; }
/// <summary> /// Deprecated Method for adding a new object to the tblContactTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblContactTypes(tblContactType tblContactType) { base.AddObject("tblContactTypes", tblContactType); }