/// <summary> /// Create a new tblAssetCategory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="assetTypeId">Initial value of the AssetTypeId property.</param> /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param> /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param> /// <param name="iM_Status">Initial value of the IM_Status property.</param> public static tblAssetCategory CreatetblAssetCategory(global::System.Guid id, global::System.String name, global::System.Guid assetTypeId, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblAssetCategory tblAssetCategory = new tblAssetCategory(); tblAssetCategory.Id = id; tblAssetCategory.Name = name; tblAssetCategory.AssetTypeId = assetTypeId; tblAssetCategory.IM_DateCreated = iM_DateCreated; tblAssetCategory.IM_DateLastUpdated = iM_DateLastUpdated; tblAssetCategory.IM_Status = iM_Status; return tblAssetCategory; }
/// <summary> /// Deprecated Method for adding a new object to the tblAssetCategory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblAssetCategory(tblAssetCategory tblAssetCategory) { base.AddObject("tblAssetCategory", tblAssetCategory); }