/// <summary> /// Create a new SYS_ContractType object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="isTrial">Initial value of the IsTrial property.</param> /// <param name="urlIdentifier">Initial value of the UrlIdentifier property.</param> public static SYS_ContractType CreateSYS_ContractType(global::System.Int32 id, global::System.String name, global::System.DateTime createdOn, global::System.Boolean isTrial, global::System.String urlIdentifier) { SYS_ContractType sYS_ContractType = new SYS_ContractType(); sYS_ContractType.Id = id; sYS_ContractType.Name = name; sYS_ContractType.CreatedOn = createdOn; sYS_ContractType.IsTrial = isTrial; sYS_ContractType.UrlIdentifier = urlIdentifier; return sYS_ContractType; }
/// <summary> /// Deprecated Method for adding a new object to the SYS_ContractType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSYS_ContractType(SYS_ContractType sYS_ContractType) { base.AddObject("SYS_ContractType", sYS_ContractType); }