/// <summary> /// Create a new tblAssistant object. /// </summary> /// <param name="idAssistant">Initial value of the idAssistant property.</param> /// <param name="idAssistantType">Initial value of the idAssistantType property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="lastName">Initial value of the LastName 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 tblAssistant CreatetblAssistant(global::System.Int32 idAssistant, global::System.Int32 idAssistantType, global::System.String firstName, global::System.String lastName, global::System.DateTime dateCreated, global::System.DateTime dateModified, global::System.String createdByLogin, global::System.String modifiedByLogin) { tblAssistant tblAssistant = new tblAssistant(); tblAssistant.idAssistant = idAssistant; tblAssistant.idAssistantType = idAssistantType; tblAssistant.FirstName = firstName; tblAssistant.LastName = lastName; tblAssistant.dateCreated = dateCreated; tblAssistant.dateModified = dateModified; tblAssistant.CreatedByLogin = createdByLogin; tblAssistant.ModifiedByLogin = modifiedByLogin; return tblAssistant; }
/// <summary> /// Deprecated Method for adding a new object to the tblAssistants EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblAssistants(tblAssistant tblAssistant) { base.AddObject("tblAssistants", tblAssistant); }