/// <summary> /// Create a new smu_User object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="email">Initial value of the Email property.</param> /// <param name="username">Initial value of the Username property.</param> /// <param name="password">Initial value of the Password property.</param> /// <param name="gUID">Initial value of the GUID property.</param> /// <param name="wantsNewsletter">Initial value of the WantsNewsletter property.</param> /// <param name="statusId">Initial value of the StatusId property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="sex">Initial value of the Sex property.</param> public static smu_User Createsmu_User(global::System.Int32 userId, global::System.String email, global::System.String username, global::System.String password, global::System.String gUID, global::System.Boolean wantsNewsletter, global::System.Int32 statusId, global::System.DateTime createDate, global::System.String sex) { smu_User smu_User = new smu_User(); smu_User.UserId = userId; smu_User.Email = email; smu_User.Username = username; smu_User.Password = password; smu_User.GUID = gUID; smu_User.WantsNewsletter = wantsNewsletter; smu_User.StatusId = statusId; smu_User.CreateDate = createDate; smu_User.Sex = sex; return smu_User; }
/// <summary> /// Create a new RevenueList object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="revenueGroupId">Initial value of the RevenueGroupId property.</param> /// <param name="sourceName">Initial value of the SourceName property.</param> /// <param name="amountGRN">Initial value of the AmountGRN property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="memo">Initial value of the Memo property.</param> /// <param name="exchangeRate">Initial value of the ExchangeRate property.</param> /// <param name="currencyId">Initial value of the CurrencyId property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static RevenueList CreateRevenueList(global::System.Int32 id, global::System.Int32 revenueGroupId, global::System.String sourceName, global::System.Decimal amountGRN, global::System.DateTime creationDate, global::System.String memo, global::System.Double exchangeRate, global::System.Int32 currencyId, global::System.Boolean isDeleted) { RevenueList revenueList = new RevenueList(); revenueList.Id = id; revenueList.RevenueGroupId = revenueGroupId; revenueList.SourceName = sourceName; revenueList.AmountGRN = amountGRN; revenueList.CreationDate = creationDate; revenueList.Memo = memo; revenueList.ExchangeRate = exchangeRate; revenueList.CurrencyId = currencyId; revenueList.IsDeleted = isDeleted; return(revenueList); }
partial void OnActiveChanging(global::System.Boolean value);
/// <summary> /// Create a new ExpenseGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static ExpenseGroup CreateExpenseGroup(global::System.Int32 id, global::System.String name, global::System.DateTime creationDate, global::System.Boolean isDeleted) { ExpenseGroup expenseGroup = new ExpenseGroup(); expenseGroup.Id = id; expenseGroup.Name = name; expenseGroup.CreationDate = creationDate; expenseGroup.IsDeleted = isDeleted; return(expenseGroup); }
/// <summary> /// Create a new RevenueGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static RevenueGroup CreateRevenueGroup(global::System.Int32 id, global::System.String name, global::System.DateTime creationDate, global::System.Boolean isDeleted) { RevenueGroup revenueGroup = new RevenueGroup(); revenueGroup.Id = id; revenueGroup.Name = name; revenueGroup.CreationDate = creationDate; revenueGroup.IsDeleted = isDeleted; return(revenueGroup); }
public static void Set_Windows_UI_Xaml_Controls_ProgressRing_IsActive(global::Windows.UI.Xaml.Controls.ProgressRing obj, global::System.Boolean value) { obj.IsActive = value; }
/// <summary> /// Create a new TODO object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="content">Initial value of the Content property.</param> /// <param name="deadline">Initial value of the Deadline property.</param> /// <param name="finished">Initial value of the finished property.</param> public static TODO CreateTODO(global::System.DateTime id, global::System.String title, global::System.String content, global::System.DateTime deadline, global::System.Boolean finished) { TODO tODO = new TODO(); tODO.id = id; tODO.Title = title; tODO.Content = content; tODO.Deadline = deadline; tODO.finished = finished; return(tODO); }
/// <summary> /// Create a new ForumPost object. /// </summary> /// <param name="postingId">Initial value of the PostingId property.</param> /// <param name="post">Initial value of the Post property.</param> /// <param name="forumUser">Initial value of the ForumUser property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static ForumPost CreateForumPost(global::System.Int32 postingId, global::System.String post, global::System.String forumUser, global::System.Byte[] timeStamp, global::System.Boolean isActive) { ForumPost forumPost = new ForumPost(); forumPost.PostingId = postingId; forumPost.Post = post; forumPost.ForumUser = forumUser; forumPost.TimeStamp = timeStamp; forumPost.IsActive = isActive; return(forumPost); }
/// <summary> /// Create a new SalesOrderHeader object. /// </summary> /// <param name="salesOrderID">Initial value of the SalesOrderID property.</param> /// <param name="revisionNumber">Initial value of the RevisionNumber property.</param> /// <param name="orderDate">Initial value of the OrderDate property.</param> /// <param name="dueDate">Initial value of the DueDate property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="onlineOrderFlag">Initial value of the OnlineOrderFlag property.</param> /// <param name="salesOrderNumber">Initial value of the SalesOrderNumber property.</param> /// <param name="customerID">Initial value of the CustomerID property.</param> /// <param name="shipMethod">Initial value of the ShipMethod property.</param> /// <param name="subTotal">Initial value of the SubTotal property.</param> /// <param name="taxAmt">Initial value of the TaxAmt property.</param> /// <param name="freight">Initial value of the Freight property.</param> /// <param name="totalDue">Initial value of the TotalDue property.</param> /// <param name="rowguid">Initial value of the rowguid property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> public static SalesOrderHeader CreateSalesOrderHeader(global::System.Int32 salesOrderID, global::System.Byte revisionNumber, global::System.DateTime orderDate, global::System.DateTime dueDate, global::System.Byte status, global::System.Boolean onlineOrderFlag, global::System.String salesOrderNumber, global::System.Int32 customerID, global::System.String shipMethod, global::System.Decimal subTotal, global::System.Decimal taxAmt, global::System.Decimal freight, global::System.Decimal totalDue, global::System.Guid rowguid, global::System.DateTime modifiedDate) { SalesOrderHeader salesOrderHeader = new SalesOrderHeader(); salesOrderHeader.SalesOrderID = salesOrderID; salesOrderHeader.RevisionNumber = revisionNumber; salesOrderHeader.OrderDate = orderDate; salesOrderHeader.DueDate = dueDate; salesOrderHeader.Status = status; salesOrderHeader.OnlineOrderFlag = onlineOrderFlag; salesOrderHeader.SalesOrderNumber = salesOrderNumber; salesOrderHeader.CustomerID = customerID; salesOrderHeader.ShipMethod = shipMethod; salesOrderHeader.SubTotal = subTotal; salesOrderHeader.TaxAmt = taxAmt; salesOrderHeader.Freight = freight; salesOrderHeader.TotalDue = totalDue; salesOrderHeader.rowguid = rowguid; salesOrderHeader.ModifiedDate = modifiedDate; return(salesOrderHeader); }
public static void Set_Windows_UI_Xaml_Controls_Control_IsEnabled(global::Windows.UI.Xaml.Controls.Control obj, global::System.Boolean value) { obj.IsEnabled = value; }
partial void OncIsAdminChanging(global::System.Boolean value);
public static void Set_Microsoft_UI_Xaml_Controls_NavigationView_IsBackEnabled(global::Microsoft.UI.Xaml.Controls.NavigationView obj, global::System.Boolean value) { obj.IsBackEnabled = value; }
partial void OnUseForItemChanging(global::System.Boolean value);
partial void OnIsHiddenChanging(global::System.Boolean value);
public object[] Read7_checkSongExistsResponse() { Reader.MoveToContent(); object[] p = new object[1]; p[0] = new global::System.Boolean(); Reader.MoveToContent(); int whileIterations6 = 0; int readerCount6 = ReaderCount; while (Reader.NodeType == System.Xml.XmlNodeType.Element) { string root = Reader.GetAttribute("root", "http://schemas.xmlsoap.org/soap/encoding/"); if (root == null || System.Xml.XmlConvert.ToBoolean(root)) break; ReadReferencedElement(); Reader.MoveToContent(); CheckReaderCount(ref whileIterations6, ref readerCount6); } bool isEmptyWrapper = Reader.IsEmptyElement; Reader.ReadStartElement(); Fixup fixup = new Fixup(p, new System.Xml.Serialization.XmlSerializationFixupCallback(this.fixup_Read7_checkSongExistsResponse), 1); AddFixup(fixup); IsReturnValue = true; bool[] paramsRead = new bool[1]; Reader.MoveToContent(); int whileIterations7 = 0; int readerCount7 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (!paramsRead[0] && (IsReturnValue || ((object) Reader.LocalName == (object)id13_return && (object) Reader.NamespaceURI == (object)id2_Item))) { object rre = ReadReferencingElement(id11_boolean, id4_Item, out fixup.Ids[0]); if (rre != null) { try { p[0] = (global::System.Boolean)rre; } catch (System.InvalidCastException) { throw CreateInvalidCastException(typeof(global::System.Boolean), rre, null); } Referenced(p[0]); } IsReturnValue = false; paramsRead[0] = true; } else { UnknownNode((object)p); } } else { UnknownNode((object)p); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations7, ref readerCount7); } if (!isEmptyWrapper) ReadEndElement(); ReadReferencedElements(); return p; }
partial void OnOnlineOrderFlagChanging(global::System.Boolean value);
partial void OnIsFileChanging(global::System.Boolean value);
/// <summary> /// Create a new Mapping object. /// </summary> /// <param name="postId">Initial value of the PostId property.</param> /// <param name="nNTPMessageNumber">Initial value of the NNTPMessageNumber property.</param> /// <param name="id">Initial value of the Id property.</param> /// <param name="postType">Initial value of the PostType property.</param> /// <param name="isPrimary">Initial value of the IsPrimary property.</param> public static Mapping CreateMapping(global::System.Guid postId, global::System.Int64 nNTPMessageNumber, global::System.Guid id, global::System.Int32 postType, global::System.Boolean isPrimary) { Mapping mapping = new Mapping(); mapping.PostId = postId; mapping.NNTPMessageNumber = nNTPMessageNumber; mapping.Id = id; mapping.PostType = postType; mapping.IsPrimary = isPrimary; return(mapping); }
public static void CreateRadzenCheckBox_1 <TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Boolean __arg0, int __seq1, global::System.String __arg1, int __seq2, TValue __arg2, int __seq3, global::Microsoft.AspNetCore.Components.EventCallback <TValue> __arg3, int __seq4, global::System.Linq.Expressions.Expression <global::System.Func <TValue> > __arg4) { __builder.OpenComponent <global::Radzen.Blazor.RadzenCheckBox <TValue> >(seq); __builder.AddAttribute(__seq0, "TriState", __arg0); __builder.AddAttribute(__seq1, "Name", __arg1); __builder.AddAttribute(__seq2, "Value", __arg2); __builder.AddAttribute(__seq3, "ValueChanged", __arg3); __builder.AddAttribute(__seq4, "ValueExpression", __arg4); __builder.CloseComponent(); }
partial void OnIsPrimaryChanging(global::System.Boolean value);
partial void OnfinishedChanging(global::System.Boolean value);
/// <summary> /// Create a new Voter object. /// </summary> /// <param name="voterId">Initial value of the VoterId property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="lastName">Initial value of the LastName property.</param> /// <param name="firstName">Initial value of the FirstName property.</param> /// <param name="dateOfBirth">Initial value of the DateOfBirth property.</param> /// <param name="eligibleDate">Initial value of the EligibleDate property.</param> /// <param name="mustShowId">Initial value of the MustShowId property.</param> /// <param name="absentee">Initial value of the Absentee property.</param> /// <param name="protectedAddress">Initial value of the ProtectedAddress property.</param> /// <param name="voted">Initial value of the Voted property.</param> /// <param name="returnStatus">Initial value of the ReturnStatus property.</param> /// <param name="ballotStyle">Initial value of the BallotStyle property.</param> /// <param name="precinctSub">Initial value of the PrecinctSub property.</param> /// <param name="address">Initial value of the Address property.</param> /// <param name="municipality">Initial value of the Municipality property.</param> /// <param name="zipCode">Initial value of the ZipCode property.</param> /// <param name="pollbookStatus">Initial value of the PollbookStatus property.</param> public static Voter CreateVoter(global::System.Int32 voterId, global::System.String status, global::System.String lastName, global::System.String firstName, global::System.DateTime dateOfBirth, global::System.DateTime eligibleDate, global::System.Boolean mustShowId, global::System.Boolean absentee, global::System.Boolean protectedAddress, global::System.Boolean voted, global::System.String returnStatus, global::System.String ballotStyle, global::System.String precinctSub, global::System.String address, global::System.String municipality, global::System.String zipCode, global::System.Int32 pollbookStatus) { Voter voter = new Voter(); voter.VoterId = voterId; voter.Status = status; voter.LastName = lastName; voter.FirstName = firstName; voter.DateOfBirth = dateOfBirth; voter.EligibleDate = eligibleDate; voter.MustShowId = mustShowId; voter.Absentee = absentee; voter.ProtectedAddress = protectedAddress; voter.Voted = voted; voter.ReturnStatus = returnStatus; voter.BallotStyle = ballotStyle; voter.PrecinctSub = precinctSub; voter.Address = address; voter.Municipality = municipality; voter.ZipCode = zipCode; voter.PollbookStatus = pollbookStatus; return(voter); }
/// <summary> /// Create a new ExpenseList object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="expenseGroupId">Initial value of the ExpenseGroupId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="cost">Initial value of the Cost property.</param> /// <param name="creationDate">Initial value of the CreationDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static ExpenseList CreateExpenseList(global::System.Int32 id, global::System.Int32 expenseGroupId, global::System.String name, global::System.Decimal cost, global::System.DateTime creationDate, global::System.Boolean isDeleted) { ExpenseList expenseList = new ExpenseList(); expenseList.Id = id; expenseList.ExpenseGroupId = expenseGroupId; expenseList.Name = name; expenseList.Cost = cost; expenseList.CreationDate = creationDate; expenseList.IsDeleted = isDeleted; return(expenseList); }
partial void OnMustShowIdChanging(global::System.Boolean value);
partial void OnIsDeletedChanging(global::System.Boolean value);
partial void OnAbsenteeChanging(global::System.Boolean value);
/// <summary> /// Create a new PhoneItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="mDN">Initial value of the MDN property.</param> /// <param name="mSID">Initial value of the MSID property.</param> /// <param name="mEID">Initial value of the MEID property.</param> /// <param name="eSN">Initial value of the ESN property.</param> /// <param name="mSL">Initial value of the MSL property.</param> /// <param name="active">Initial value of the Active property.</param> /// <param name="phoneItem_SubscriberItem">Initial value of the PhoneItem_SubscriberItem property.</param> public static PhoneItem CreatePhoneItem(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String mDN, global::System.String mSID, global::System.String mEID, global::System.String eSN, global::System.String mSL, global::System.Boolean active, global::System.Int32 phoneItem_SubscriberItem) { PhoneItem phoneItem = new PhoneItem(); phoneItem.Id = id; phoneItem.RowVersion = rowVersion; phoneItem.MDN = mDN; phoneItem.MSID = mSID; phoneItem.MEID = mEID; phoneItem.ESN = eSN; phoneItem.MSL = mSL; phoneItem.Active = active; phoneItem.PhoneItem_SubscriberItem = phoneItem_SubscriberItem; return(phoneItem); }
partial void OnProtectedAddressChanging(global::System.Boolean value);
/// <summary> /// Create a new ServicePlan object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> /// <param name="internationalDialing">Initial value of the InternationalDialing property.</param> /// <param name="voicePlan">Initial value of the VoicePlan property.</param> /// <param name="dataPlan">Initial value of the DataPlan property.</param> /// <param name="hotSpot">Initial value of the HotSpot property.</param> public static ServicePlan CreateServicePlan(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.Boolean internationalDialing, global::System.String voicePlan, global::System.String dataPlan, global::System.Boolean hotSpot) { ServicePlan servicePlan = new ServicePlan(); servicePlan.Id = id; servicePlan.RowVersion = rowVersion; servicePlan.InternationalDialing = internationalDialing; servicePlan.VoicePlan = voicePlan; servicePlan.DataPlan = dataPlan; servicePlan.HotSpot = hotSpot; return(servicePlan); }
partial void OnNameStyleChanging(global::System.Boolean value);
public object[] Read29_postAlbumResponse() { Reader.MoveToContent(); object[] p = new object[5]; p[0] = new global::System.Boolean(); p[3] = new global::System.Int32(); Reader.MoveToContent(); int whileIterations39 = 0; int readerCount39 = ReaderCount; while (Reader.NodeType == System.Xml.XmlNodeType.Element) { string root = Reader.GetAttribute("root", "http://schemas.xmlsoap.org/soap/encoding/"); if (root == null || System.Xml.XmlConvert.ToBoolean(root)) break; ReadReferencedElement(); Reader.MoveToContent(); CheckReaderCount(ref whileIterations39, ref readerCount39); } bool isEmptyWrapper = Reader.IsEmptyElement; Reader.ReadStartElement(); Fixup fixup = new Fixup(p, new System.Xml.Serialization.XmlSerializationFixupCallback(this.fixup_Read29_postAlbumResponse), 5); AddFixup(fixup); IsReturnValue = true; bool[] paramsRead = new bool[5]; Reader.MoveToContent(); int whileIterations40 = 0; int readerCount40 = ReaderCount; while (Reader.NodeType != System.Xml.XmlNodeType.EndElement && Reader.NodeType != System.Xml.XmlNodeType.None) { if (Reader.NodeType == System.Xml.XmlNodeType.Element) { if (!paramsRead[0] && (IsReturnValue || ((object) Reader.LocalName == (object)id10_dataUsed && (object) Reader.NamespaceURI == (object)id2_Item))) { object rre = ReadReferencingElement(id11_boolean, id4_Item, out fixup.Ids[0]); if (rre != null) { try { p[0] = (global::System.Boolean)rre; } catch (System.InvalidCastException) { throw CreateInvalidCastException(typeof(global::System.Boolean), rre, null); } Referenced(p[0]); } IsReturnValue = false; paramsRead[0] = true; } else if (!paramsRead[1] && ((object) Reader.LocalName == (object)id1_artist && (object) Reader.NamespaceURI == (object)id2_Item)) { object rre = ReadReferencingElement(id3_string, id4_Item, out fixup.Ids[1]); try { p[1] = (global::System.String)rre; } catch (System.InvalidCastException) { throw CreateInvalidCastException(typeof(global::System.String), rre, null); } Referenced(p[1]); paramsRead[1] = true; } else if (!paramsRead[2] && ((object) Reader.LocalName == (object)id23_album && (object) Reader.NamespaceURI == (object)id2_Item)) { object rre = ReadReferencingElement(id3_string, id4_Item, out fixup.Ids[2]); try { p[2] = (global::System.String)rre; } catch (System.InvalidCastException) { throw CreateInvalidCastException(typeof(global::System.String), rre, null); } Referenced(p[2]); paramsRead[2] = true; } else if (!paramsRead[3] && ((object) Reader.LocalName == (object)id24_year && (object) Reader.NamespaceURI == (object)id2_Item)) { object rre = ReadReferencingElement(id25_int, id4_Item, out fixup.Ids[3]); if (rre != null) { try { p[3] = (global::System.Int32)rre; } catch (System.InvalidCastException) { throw CreateInvalidCastException(typeof(global::System.Int32), rre, null); } Referenced(p[3]); } paramsRead[3] = true; } else if (!paramsRead[4] && ((object) Reader.LocalName == (object)id12_message && (object) Reader.NamespaceURI == (object)id2_Item)) { object rre = ReadReferencingElement(id3_string, id4_Item, out fixup.Ids[4]); try { p[4] = (global::System.String)rre; } catch (System.InvalidCastException) { throw CreateInvalidCastException(typeof(global::System.String), rre, null); } Referenced(p[4]); paramsRead[4] = true; } else { UnknownNode((object)p); } } else { UnknownNode((object)p); } Reader.MoveToContent(); CheckReaderCount(ref whileIterations40, ref readerCount40); } if (!isEmptyWrapper) ReadEndElement(); ReadReferencedElements(); return p; }
public static void CreateEjsGrid_0 <TValue>(global::Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder, int seq, int __seq0, global::System.Collections.Generic.IEnumerable <TValue> __arg0, int __seq1, global::System.Boolean __arg1, int __seq2, global::System.Boolean __arg2, int __seq3, global::System.Boolean __arg3, int __seq4, global::Microsoft.AspNetCore.Components.RenderFragment __arg4) { __builder.OpenComponent <global::Syncfusion.EJ2.Blazor.Grids.EjsGrid <TValue> >(seq); __builder.AddAttribute(__seq0, "DataSource", __arg0); __builder.AddAttribute(__seq1, "AllowSorting", __arg1); __builder.AddAttribute(__seq2, "AllowPaging", __arg2); __builder.AddAttribute(__seq3, "AllowGrouping", __arg3); __builder.AddAttribute(__seq4, "ChildContent", __arg4); __builder.CloseComponent(); }
/// <summary> /// Create a new aspnet_SchemaVersion object. /// </summary> /// <param name="feature">Initial value of the Feature property.</param> /// <param name="compatibleSchemaVersion">Initial value of the CompatibleSchemaVersion property.</param> /// <param name="isCurrentVersion">Initial value of the IsCurrentVersion property.</param> public static aspnet_SchemaVersion Createaspnet_SchemaVersion(global::System.String feature, global::System.String compatibleSchemaVersion, global::System.Boolean isCurrentVersion) { aspnet_SchemaVersion aspnet_SchemaVersion = new aspnet_SchemaVersion(); aspnet_SchemaVersion.Feature = feature; aspnet_SchemaVersion.CompatibleSchemaVersion = compatibleSchemaVersion; aspnet_SchemaVersion.IsCurrentVersion = isCurrentVersion; return aspnet_SchemaVersion; }
/// <summary> /// Create a new Template object. /// </summary> /// <param name="templateID">Initial value of the TemplateID property.</param> /// <param name="portalID">Initial value of the PortalID property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="path">Initial value of the Path property.</param> /// <param name="script">Initial value of the Script property.</param> /// <param name="isFile">Initial value of the IsFile property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="isHidden">Initial value of the IsHidden property.</param> /// <param name="location">Initial value of the Location property.</param> /// <param name="useForList">Initial value of the UseForList property.</param> /// <param name="useForItem">Initial value of the UseForItem property.</param> /// <param name="sysCreated">Initial value of the SysCreated property.</param> /// <param name="sysCreatedBy">Initial value of the SysCreatedBy property.</param> /// <param name="sysModified">Initial value of the SysModified property.</param> /// <param name="sysModifiedBy">Initial value of the SysModifiedBy property.</param> /// <param name="appID">Initial value of the AppID property.</param> /// <param name="publishData">Initial value of the PublishData property.</param> /// <param name="streamsToPublish">Initial value of the StreamsToPublish property.</param> public static Template CreateTemplate(global::System.Int32 templateID, global::System.Int32 portalID, global::System.String name, global::System.String path, global::System.String script, global::System.Boolean isFile, global::System.String type, global::System.Boolean isHidden, global::System.String location, global::System.Boolean useForList, global::System.Boolean useForItem, global::System.DateTime sysCreated, global::System.Int32 sysCreatedBy, global::System.DateTime sysModified, global::System.Int32 sysModifiedBy, global::System.Int32 appID, global::System.Boolean publishData, global::System.String streamsToPublish) { Template template = new Template(); template.TemplateID = templateID; template.PortalID = portalID; template.Name = name; template.Path = path; template.Script = script; template.IsFile = isFile; template.Type = type; template.IsHidden = isHidden; template.Location = location; template.UseForList = useForList; template.UseForItem = useForItem; template.SysCreated = sysCreated; template.SysCreatedBy = sysCreatedBy; template.SysModified = sysModified; template.SysModifiedBy = sysModifiedBy; template.AppID = appID; template.PublishData = publishData; template.StreamsToPublish = streamsToPublish; return(template); }