public static void nativeWrite(int n1) { //XMLVM_BEGIN_WRAPPER[org.xmlvm.runtime.XMLVMOutputStream: void nativeWrite(int)] #if CONSOLE global::System.Console.Write((char) n1); #else if ((char)n1 == '\n') { global::System.Diagnostics.Debug.WriteLine(buffer); buffer = ""; } else { buffer += (char)n1; } #endif //XMLVM_END_WRAPPER[org.xmlvm.runtime.XMLVMOutputStream: void nativeWrite(int)] }
/// <summary> /// Создание нового объекта user_franchaser. /// </summary> /// <param name="id">Исходное значение свойства id.</param> /// <param name="user_id">Исходное значение свойства user_id.</param> /// <param name="first_name">Исходное значение свойства first_name.</param> /// <param name="last_name">Исходное значение свойства last_name.</param> /// <param name="company_name">Исходное значение свойства company_name.</param> /// <param name="telephone">Исходное значение свойства telephone.</param> /// <param name="email">Исходное значение свойства email.</param> /// <param name="domain_name">Исходное значение свойства domain_name.</param> /// <param name="country">Исходное значение свойства country.</param> public static user_franchaser Createuser_franchaser(global::System.Int32 id, global::System.String user_id, global::System.String first_name, global::System.String last_name, global::System.String company_name, global::System.String telephone, global::System.String email, global::System.String domain_name, global::System.String country) { user_franchaser user_franchaser = new user_franchaser(); user_franchaser.id = id; user_franchaser.user_id = user_id; user_franchaser.first_name = first_name; user_franchaser.last_name = last_name; user_franchaser.company_name = company_name; user_franchaser.telephone = telephone; user_franchaser.email = email; user_franchaser.domain_name = domain_name; user_franchaser.country = country; return user_franchaser; }
/// <summary> /// Create a new user object. /// </summary> /// <param name="user_id">Initial value of the user_id property.</param> /// <param name="user_name">Initial value of the user_name property.</param> /// <param name="user_email">Initial value of the user_email property.</param> /// <param name="user_password">Initial value of the user_password property.</param> /// <param name="user_first_name">Initial value of the user_first_name property.</param> /// <param name="user_last_name">Initial value of the user_last_name property.</param> /// <param name="user_last_login">Initial value of the user_last_login property.</param> /// <param name="user_group_id">Initial value of the user_group_id property.</param> /// <param name="user_birth_place">Initial value of the user_birth_place property.</param> /// <param name="user_birth_date">Initial value of the user_birth_date property.</param> /// <param name="user_address">Initial value of the user_address property.</param> /// <param name="user_social_number">Initial value of the user_social_number property.</param> /// <param name="user_photo_file">Initial value of the user_photo_file property.</param> /// <param name="user_gender">Initial value of the user_gender property.</param> /// <param name="user_marital_status">Initial value of the user_marital_status property.</param> /// <param name="created_by">Initial value of the created_by property.</param> /// <param name="created_date">Initial value of the created_date property.</param> /// <param name="updated_by">Initial value of the updated_by property.</param> /// <param name="updated_date">Initial value of the updated_date property.</param> public static user Createuser(global::System.Int32 user_id, global::System.String user_name, global::System.String user_email, global::System.String user_password, global::System.String user_first_name, global::System.String user_last_name, global::System.DateTime user_last_login, global::System.Int32 user_group_id, global::System.String user_birth_place, global::System.DateTime user_birth_date, global::System.String user_address, global::System.String user_social_number, global::System.String user_photo_file, global::System.String user_gender, global::System.String user_marital_status, global::System.String created_by, global::System.DateTime created_date, global::System.String updated_by, global::System.DateTime updated_date) { user user = new user(); user.user_id = user_id; user.user_name = user_name; user.user_email = user_email; user.user_password = user_password; user.user_first_name = user_first_name; user.user_last_name = user_last_name; user.user_last_login = user_last_login; user.user_group_id = user_group_id; user.user_birth_place = user_birth_place; user.user_birth_date = user_birth_date; user.user_address = user_address; user.user_social_number = user_social_number; user.user_photo_file = user_photo_file; user.user_gender = user_gender; user.user_marital_status = user_marital_status; user.created_by = created_by; user.created_date = created_date; user.updated_by = updated_by; user.updated_date = updated_date; return user; }
/// <summary> /// Create a new smu_TrainingCategory object. /// </summary> /// <param name="trainingCategoryId">Initial value of the TrainingCategoryId property.</param> /// <param name="trainingCategoryName">Initial value of the TrainingCategoryName property.</param> public static smu_TrainingCategory Createsmu_TrainingCategory(global::System.Int32 trainingCategoryId, global::System.String trainingCategoryName) { smu_TrainingCategory smu_TrainingCategory = new smu_TrainingCategory(); smu_TrainingCategory.TrainingCategoryId = trainingCategoryId; smu_TrainingCategory.TrainingCategoryName = trainingCategoryName; return smu_TrainingCategory; }
/// <summary> /// Create a new smu_LogException object. /// </summary> /// <param name="logId">Initial value of the LogId property.</param> /// <param name="logDate">Initial value of the LogDate property.</param> /// <param name="logText">Initial value of the LogText property.</param> public static smu_LogException Createsmu_LogException(global::System.Int32 logId, global::System.DateTime logDate, global::System.String logText) { smu_LogException smu_LogException = new smu_LogException(); smu_LogException.LogId = logId; smu_LogException.LogDate = logDate; smu_LogException.LogText = logText; return smu_LogException; }
/// <summary> /// Create a new vw_aspnet_Role object. /// </summary> /// <param name="applicationId">Initial value of the ApplicationId property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="roleName">Initial value of the RoleName property.</param> /// <param name="loweredRoleName">Initial value of the LoweredRoleName property.</param> public static vw_aspnet_Role Createvw_aspnet_Role(global::System.Guid applicationId, global::System.Guid roleId, global::System.String roleName, global::System.String loweredRoleName) { vw_aspnet_Role vw_aspnet_Role = new vw_aspnet_Role(); vw_aspnet_Role.ApplicationId = applicationId; vw_aspnet_Role.RoleId = roleId; vw_aspnet_Role.RoleName = roleName; vw_aspnet_Role.LoweredRoleName = loweredRoleName; return vw_aspnet_Role; }
partial void OnStatusChanging(global::System.String value);
partial void OnEvImgPath2Changing(global::System.String value);
partial void OnEvTextChanging(global::System.String value);
protected override void GeneratePostInitializationCode(string directiveName, global::System.Text.StringBuilder codeBuffer, global::System.CodeDom.Compiler.CodeDomProvider languageProvider, global::System.Collections.Generic.IDictionary <string, string> requiresArguments, global::System.Collections.Generic.IDictionary <string, string> providesArguments) { if ((global::System.StringComparer.OrdinalIgnoreCase.Compare(directiveName, supportedDirectiveName) == 0)) { // We check the encoding of the model file, and ask the host to use that // encoding to write the output. This is to make sure we use the correct encoding // if the model file contains international characters that could be used in // the template output. string fileName = requiresArguments[requiresFileParameter]; if (!string.IsNullOrEmpty(fileName) && global::System.IO.File.Exists(fileName)) { Host.SetOutputEncoding(VSTextTemplating::EncodingHelper.GetEncoding(fileName), false); } if (languageProvider != null) { global::System.CodeDom.CodeMethodInvokeExpression invokeLoad; global::System.String transactionName = providesArguments[providesModelParameter].ToLower(global::System.Globalization.CultureInfo.InvariantCulture) + "Transaction"; global::System.CodeDom.CodeVariableDeclarationStatement transactionDeclaration = new global::System.CodeDom.CodeVariableDeclarationStatement(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::Transaction)), transactionName, new global::System.CodeDom.CodePrimitiveExpression(null)); global::System.CodeDom.CodeStatement finallyStatement = new global::System.CodeDom.CodeConditionStatement(new global::System.CodeDom.CodeBinaryOperatorExpression(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), global::System.CodeDom.CodeBinaryOperatorType.IdentityInequality, new global::System.CodeDom.CodePrimitiveExpression(null)), new global::System.CodeDom.CodeExpressionStatement(new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), "Dispose"))); global::System.Collections.Generic.List <global::System.CodeDom.CodeStatement> txTryStatements = new global::System.Collections.Generic.List <global::System.CodeDom.CodeStatement>(); global::System.CodeDom.CodeVariableDeclarationStatement serializationResultDeclaration = new global::System.CodeDom.CodeVariableDeclarationStatement(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::SerializationResult)), "serializationResult", new global::System.CodeDom.CodeObjectCreateExpression(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::SerializationResult)))); global::System.CodeDom.CodeMethodInvokeExpression invokeEnableDiagramRules = null; global::System.CodeDom.CodeVariableDeclarationStatement diagramFileDeclaration = null; global::System.CodeDom.CodeAssignStatement diagramFileAssign = null; if (LoadDiagramData) { // generate code to enable diagram fixup rules and load the diagram if required. invokeEnableDiagramRules = new global::System.CodeDom.CodeMethodInvokeExpression( new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression("MobileDSLDomainModel"), "EnableDiagramRules"), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store")); diagramFileDeclaration = new global::System.CodeDom.CodeVariableDeclarationStatement(new global::System.CodeDom.CodeTypeReference("System.String"), "diagramFileName"); diagramFileAssign = new global::System.CodeDom.CodeAssignStatement(new global::System.CodeDom.CodeVariableReferenceExpression("diagramFileName"), new global::System.CodeDom.CodeBinaryOperatorExpression(new global::System.CodeDom.CodePrimitiveExpression(requiresArguments[requiresFileParameter]), global::System.CodeDom.CodeBinaryOperatorType.Add, new global::System.CodeDom.CodePrimitiveExpression(".diagram"))); invokeLoad = new global::System.CodeDom.CodeMethodInvokeExpression( new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression(typeof(MobileDSLSerializationHelper)), "Instance"), "LoadModelAndDiagram"), new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"), new global::System.CodeDom.CodePrimitiveExpression(requiresArguments[requiresFileParameter]), new global::System.CodeDom.CodeVariableReferenceExpression("diagramFileName"), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null)); } else { invokeLoad = new global::System.CodeDom.CodeMethodInvokeExpression( new global::System.CodeDom.CodeMethodReferenceExpression(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeTypeReferenceExpression(typeof(MobileDSLSerializationHelper)), "Instance"), "LoadModel"), new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"), new global::System.CodeDom.CodePrimitiveExpression(requiresArguments[requiresFileParameter]), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null), new global::System.CodeDom.CodePrimitiveExpression(null)); } global::System.CodeDom.CodeAssignStatement loadAssign = new global::System.CodeDom.CodeAssignStatement(new global::System.CodeDom.CodeFieldReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), providesArguments[providesModelParameter].ToLower(global::System.Globalization.CultureInfo.InvariantCulture) + "Value"), invokeLoad); txTryStatements.Add(serializationResultDeclaration); txTryStatements.Add(new global::System.CodeDom.CodeAssignStatement(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Store"), "TransactionManager"), "BeginTransaction", new global::System.CodeDom.CodePrimitiveExpression("Load"), new global::System.CodeDom.CodePrimitiveExpression(true)))); txTryStatements.Add(loadAssign); global::System.CodeDom.CodeConditionStatement serializationResultCheck = new global::System.CodeDom.CodeConditionStatement( new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"), "Failed"), new global::System.CodeDom.CodeThrowExceptionStatement(new global::System.CodeDom.CodeObjectCreateExpression(new global::System.CodeDom.CodeTypeReference(typeof(DslModeling::SerializationException)), new global::System.CodeDom.CodeVariableReferenceExpression("serializationResult"))) ); txTryStatements.Add(serializationResultCheck); txTryStatements.Add(new global::System.CodeDom.CodeExpressionStatement(new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeVariableReferenceExpression(transactionName), "Commit"))); global::System.CodeDom.CodeTryCatchFinallyStatement txTryStatement = new global::System.CodeDom.CodeTryCatchFinallyStatement(txTryStatements.ToArray(), new global::System.CodeDom.CodeCatchClause[] { }, new global::System.CodeDom.CodeStatement[] { finallyStatement }); // We check if the user has requested validation to be performed. If so, we call // ValidateStore() on the base ModelingTextTransformation class. string validationCategories = requiresArguments[requiresValidationParameter]; global::System.CodeDom.CodeMethodInvokeExpression validationInvoke = null; if (!string.IsNullOrEmpty(validationCategories)) { validationInvoke = new global::System.CodeDom.CodeMethodInvokeExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "ValidateStore", new global::System.CodeDom.CodePrimitiveExpression(validationCategories), new global::System.CodeDom.CodePropertyReferenceExpression(new global::System.CodeDom.CodeThisReferenceExpression(), "Errors")); } global::System.CodeDom.Compiler.CodeGeneratorOptions options = new global::System.CodeDom.Compiler.CodeGeneratorOptions(); options.BlankLinesBetweenMembers = true; options.IndentString = " "; options.VerbatimOrder = true; options.BracingStyle = "C"; using (global::System.IO.StringWriter writer = new global::System.IO.StringWriter(codeBuffer, global::System.Globalization.CultureInfo.InvariantCulture)) { if (invokeEnableDiagramRules != null) { languageProvider.GenerateCodeFromStatement(new global::System.CodeDom.CodeExpressionStatement(invokeEnableDiagramRules), writer, options); } if (diagramFileDeclaration != null) { languageProvider.GenerateCodeFromStatement(diagramFileDeclaration, writer, options); languageProvider.GenerateCodeFromStatement(diagramFileAssign, writer, options); } languageProvider.GenerateCodeFromStatement(transactionDeclaration, writer, options); languageProvider.GenerateCodeFromStatement(txTryStatement, writer, options); if (validationInvoke != null) { languageProvider.GenerateCodeFromStatement(new global::System.CodeDom.CodeExpressionStatement(validationInvoke), writer, options); } } } } }
public static void Set_Windows_UI_Xaml_Controls_TextBlock_Text(global::Windows.UI.Xaml.Controls.TextBlock obj, global::System.String value, string targetNullValue) { if (value == null && targetNullValue != null) { value = targetNullValue; } obj.Text = value ?? global::System.String.Empty; }
// ListPage_obj7_Bindings public void SetDataRoot(global::System.String newDataRoot) { this.dataRoot = newDataRoot; }
partial void OnDescriptionChanging(global::System.String value);
/// <summary> /// Create a new PurchaseOrderLineItem object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="purchaseOrderId">Initial value of the PurchaseOrderId property.</param> /// <param name="position">Initial value of the Position property.</param> public static PurchaseOrderLineItem CreatePurchaseOrderLineItem(global::System.Int32 id, global::System.String description, global::System.Decimal price, global::System.Int32 quantity, global::System.Int32 purchaseOrderId, global::System.Int32 position) { PurchaseOrderLineItem purchaseOrderLineItem = new PurchaseOrderLineItem(); purchaseOrderLineItem.Id = id; purchaseOrderLineItem.Description = description; purchaseOrderLineItem.Price = price; purchaseOrderLineItem.Quantity = quantity; purchaseOrderLineItem.PurchaseOrderId = purchaseOrderId; purchaseOrderLineItem.Position = position; return(purchaseOrderLineItem); }
/// <summary> /// Create a new aspnet_Role object. /// </summary> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="roleName">Initial value of the RoleName property.</param> /// <param name="loweredRoleName">Initial value of the LoweredRoleName property.</param> /// <param name="applicationId">Initial value of the ApplicationId property.</param> public static aspnet_Role Createaspnet_Role(global::System.Guid roleId, global::System.String roleName, global::System.String loweredRoleName, global::System.Guid applicationId) { aspnet_Role aspnet_Role = new aspnet_Role(); aspnet_Role.RoleId = roleId; aspnet_Role.RoleName = roleName; aspnet_Role.LoweredRoleName = loweredRoleName; aspnet_Role.ApplicationId = applicationId; return aspnet_Role; }
partial void OnEvAdmissionChanging(global::System.String value);
/// <summary> /// Create a new vw_aspnet_Application object. /// </summary> /// <param name="applicationName">Initial value of the ApplicationName property.</param> /// <param name="loweredApplicationName">Initial value of the LoweredApplicationName property.</param> /// <param name="applicationId">Initial value of the ApplicationId property.</param> public static vw_aspnet_Application Createvw_aspnet_Application(global::System.String applicationName, global::System.String loweredApplicationName, global::System.Guid applicationId) { vw_aspnet_Application vw_aspnet_Application = new vw_aspnet_Application(); vw_aspnet_Application.ApplicationName = applicationName; vw_aspnet_Application.LoweredApplicationName = loweredApplicationName; vw_aspnet_Application.ApplicationId = applicationId; return vw_aspnet_Application; }
partial void OnEvResponsibleChanging(global::System.String value);
protected override object ReadFields(object obj, string name) { var result = (global::YuzuTest.SampleArray)obj; if ("A" != name) throw new YuzuException("A!=" + name); result.A = RequireOrNull('[') ? null : new global::System.String[0]; if (result.A != null) { if (SkipSpacesCarefully() != ']') { var tmp1 = new global::System.String[RequireUInt()]; for(int tmp2 = 0; tmp2 < tmp1.Length; ++tmp2) { Require(','); tmp1[tmp2] = RequireString(); } result.A = tmp1; } Require(']'); } name = GetNextName(false); return result; }
partial void OnEvInterInfoChanging(global::System.String value);
public object this[int index] { get { object result = null; if (index < 0 || index > Length) { throw new IndexOutOfRangeException(); } switch (index) { case 0: result = ID; break; case 1: result = FName; break; case 2: result = LName; break; case 3: result = BirthDate; break; case 4: result = Photo; break; case 5: result = PhotoLink; break; case 6: result = E_mail; break; case 7: result = Phone; break; case 8: result = Description; break; case 9: result = File; break; } return result; } set { if (index < 0 || index > Length) { throw new IndexOutOfRangeException(); } switch (index) { case 0: if (value != null) { ID = int.Parse(value.ToString()); } break; case 1: FName = value as string; break; case 2: LName = value as string; break; case 3: if (value != null) { BirthDate = Convert.ToDateTime(value as string); } else { BirthDate = null; } break; case 4: Photo = value != null ? Encoding.UTF8.GetBytes(value.ToString()) : null; break; case 5: PhotoLink = value as string; break; case 6: E_mail = value as string; break; case 7: Phone = value as string; break; case 8: Description = value as string; break; case 9: File = value != null ? Encoding.UTF8.GetBytes(value as string) : null; break; } } }
partial void OnNameChanging(global::System.String value);
/// <summary> /// Create a new smu_TrainingType object. /// </summary> /// <param name="trainingTypeId">Initial value of the TrainingTypeId property.</param> /// <param name="trainingTypeName">Initial value of the TrainingTypeName property.</param> public static smu_TrainingType Createsmu_TrainingType(global::System.Int32 trainingTypeId, global::System.String trainingTypeName) { smu_TrainingType smu_TrainingType = new smu_TrainingType(); smu_TrainingType.TrainingTypeId = trainingTypeId; smu_TrainingType.TrainingTypeName = trainingTypeName; return smu_TrainingType; }
partial void OnTokenSecretChanging(global::System.String value);
/// <summary> /// Create a new smu_MailTemplate object. /// </summary> /// <param name="mailTemplateId">Initial value of the MailTemplateId property.</param> /// <param name="subject">Initial value of the Subject property.</param> /// <param name="body">Initial value of the Body property.</param> /// <param name="info">Initial value of the Info property.</param> public static smu_MailTemplate Createsmu_MailTemplate(global::System.Int32 mailTemplateId, global::System.String subject, global::System.String body, global::System.String info) { smu_MailTemplate smu_MailTemplate = new smu_MailTemplate(); smu_MailTemplate.MailTemplateId = mailTemplateId; smu_MailTemplate.Subject = subject; smu_MailTemplate.Body = body; smu_MailTemplate.Info = info; return smu_MailTemplate; }
partial void OnSenderscreenNameChanging(global::System.String value);
/// <summary> /// Create a new t_order object. /// </summary> /// <param name="order_id">Initial value of the order_id property.</param> /// <param name="full_name">Initial value of the full_name property.</param> /// <param name="address">Initial value of the address property.</param> /// <param name="zip_code">Initial value of the zip_code property.</param> /// <param name="area">Initial value of the area property.</param> /// <param name="country">Initial value of the country property.</param> /// <param name="phone">Initial value of the phone property.</param> /// <param name="mobile_phone">Initial value of the mobile_phone property.</param> /// <param name="id_card_number">Initial value of the id_card_number property.</param> /// <param name="birth_date">Initial value of the birth_date property.</param> /// <param name="height">Initial value of the height property.</param> /// <param name="weight">Initial value of the weight property.</param> /// <param name="gender">Initial value of the gender property.</param> /// <param name="marriage_status">Initial value of the marriage_status property.</param> /// <param name="haji">Initial value of the haji property.</param> /// <param name="pewaris_name">Initial value of the pewaris_name property.</param> /// <param name="pewaris_id_card_number">Initial value of the pewaris_id_card_number property.</param> /// <param name="pewaris_relation">Initial value of the pewaris_relation property.</param> /// <param name="pewaris_gender">Initial value of the pewaris_gender property.</param> /// <param name="pewaris_phone">Initial value of the pewaris_phone property.</param> /// <param name="pewaris_payment_for">Initial value of the pewaris_payment_for property.</param> /// <param name="order_money">Initial value of the order_money property.</param> /// <param name="check_number">Initial value of the check_number property.</param> /// <param name="order_name">Initial value of the order_name property.</param> /// <param name="order_tarikh">Initial value of the order_tarikh property.</param> /// <param name="order_kp_number">Initial value of the order_kp_number property.</param> /// <param name="wakil_name">Initial value of the wakil_name property.</param> /// <param name="wakil_tarikh">Initial value of the wakil_tarikh property.</param> /// <param name="wakil_code">Initial value of the wakil_code property.</param> /// <param name="created_by">Initial value of the created_by property.</param> /// <param name="created_date">Initial value of the created_date property.</param> /// <param name="updated_by">Initial value of the updated_by property.</param> /// <param name="updated_date">Initial value of the updated_date property.</param> public static t_order Createt_order(global::System.Int32 order_id, global::System.String full_name, global::System.String address, global::System.String zip_code, global::System.String area, global::System.String country, global::System.String phone, global::System.String mobile_phone, global::System.String id_card_number, global::System.DateTime birth_date, global::System.Decimal height, global::System.Decimal weight, global::System.String gender, global::System.String marriage_status, global::System.Int32 haji, global::System.String pewaris_name, global::System.String pewaris_id_card_number, global::System.String pewaris_relation, global::System.String pewaris_gender, global::System.String pewaris_phone, global::System.String pewaris_payment_for, global::System.Decimal order_money, global::System.String check_number, global::System.String order_name, global::System.DateTime order_tarikh, global::System.String order_kp_number, global::System.String wakil_name, global::System.DateTime wakil_tarikh, global::System.String wakil_code, global::System.String created_by, global::System.DateTime created_date, global::System.String updated_by, global::System.DateTime updated_date) { t_order t_order = new t_order(); t_order.order_id = order_id; t_order.full_name = full_name; t_order.address = address; t_order.zip_code = zip_code; t_order.area = area; t_order.country = country; t_order.phone = phone; t_order.mobile_phone = mobile_phone; t_order.id_card_number = id_card_number; t_order.birth_date = birth_date; t_order.height = height; t_order.weight = weight; t_order.gender = gender; t_order.marriage_status = marriage_status; t_order.haji = haji; t_order.pewaris_name = pewaris_name; t_order.pewaris_id_card_number = pewaris_id_card_number; t_order.pewaris_relation = pewaris_relation; t_order.pewaris_gender = pewaris_gender; t_order.pewaris_phone = pewaris_phone; t_order.pewaris_payment_for = pewaris_payment_for; t_order.order_money = order_money; t_order.check_number = check_number; t_order.order_name = order_name; t_order.order_tarikh = order_tarikh; t_order.order_kp_number = order_kp_number; t_order.wakil_name = wakil_name; t_order.wakil_tarikh = wakil_tarikh; t_order.wakil_code = wakil_code; t_order.created_by = created_by; t_order.created_date = created_date; t_order.updated_by = updated_by; t_order.updated_date = updated_date; return t_order; }
partial void OnProxyAddresChanging(global::System.String value);
/// <summary> /// Create a new user_group object. /// </summary> /// <param name="user_group_id">Initial value of the user_group_id property.</param> /// <param name="user_group_name">Initial value of the user_group_name property.</param> /// <param name="created_date">Initial value of the created_date property.</param> /// <param name="created_by">Initial value of the created_by property.</param> /// <param name="updated_date">Initial value of the updated_date property.</param> /// <param name="updated_by">Initial value of the updated_by property.</param> public static user_group Createuser_group(global::System.Int32 user_group_id, global::System.String user_group_name, global::System.DateTime created_date, global::System.String created_by, global::System.DateTime updated_date, global::System.String updated_by) { user_group user_group = new user_group(); user_group.user_group_id = user_group_id; user_group.user_group_name = user_group_name; user_group.created_date = created_date; user_group.created_by = created_by; user_group.updated_date = updated_date; user_group.updated_by = updated_by; return user_group; }
partial void OnProxyUsernameChanging(global::System.String value);
/// <summary> /// Создание нового объекта user_owner. /// </summary> /// <param name="id">Исходное значение свойства id.</param> /// <param name="user_id">Исходное значение свойства user_id.</param> /// <param name="franchaser_id">Исходное значение свойства franchaser_id.</param> /// <param name="first_name">Исходное значение свойства first_name.</param> /// <param name="last_name">Исходное значение свойства last_name.</param> /// <param name="telephone">Исходное значение свойства telephone.</param> /// <param name="email">Исходное значение свойства email.</param> public static user_owner Createuser_owner(global::System.Int32 id, global::System.String user_id, global::System.Int32 franchaser_id, global::System.String first_name, global::System.String last_name, global::System.String telephone, global::System.String email) { user_owner user_owner = new user_owner(); user_owner.id = id; user_owner.user_id = user_id; user_owner.franchaser_id = franchaser_id; user_owner.first_name = first_name; user_owner.last_name = last_name; user_owner.telephone = telephone; user_owner.email = email; return user_owner; }
partial void OnProxyPasswordChanging(global::System.String value);
/// <summary> /// Create a new aspnet_Application object. /// </summary> /// <param name="applicationName">Initial value of the ApplicationName property.</param> /// <param name="loweredApplicationName">Initial value of the LoweredApplicationName property.</param> /// <param name="applicationId">Initial value of the ApplicationId property.</param> public static aspnet_Application Createaspnet_Application(global::System.String applicationName, global::System.String loweredApplicationName, global::System.Guid applicationId) { aspnet_Application aspnet_Application = new aspnet_Application(); aspnet_Application.ApplicationName = applicationName; aspnet_Application.LoweredApplicationName = loweredApplicationName; aspnet_Application.ApplicationId = applicationId; return aspnet_Application; }
partial void OnMessageChanging(global::System.String value);
/// <summary> /// Create a new vw_aspnet_MembershipUser object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="passwordFormat">Initial value of the PasswordFormat property.</param> /// <param name="isApproved">Initial value of the IsApproved property.</param> /// <param name="isLockedOut">Initial value of the IsLockedOut property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> /// <param name="lastLoginDate">Initial value of the LastLoginDate property.</param> /// <param name="lastPasswordChangedDate">Initial value of the LastPasswordChangedDate property.</param> /// <param name="lastLockoutDate">Initial value of the LastLockoutDate property.</param> /// <param name="failedPasswordAttemptCount">Initial value of the FailedPasswordAttemptCount property.</param> /// <param name="failedPasswordAttemptWindowStart">Initial value of the FailedPasswordAttemptWindowStart property.</param> /// <param name="failedPasswordAnswerAttemptCount">Initial value of the FailedPasswordAnswerAttemptCount property.</param> /// <param name="failedPasswordAnswerAttemptWindowStart">Initial value of the FailedPasswordAnswerAttemptWindowStart property.</param> /// <param name="applicationId">Initial value of the ApplicationId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="isAnonymous">Initial value of the IsAnonymous property.</param> /// <param name="lastActivityDate">Initial value of the LastActivityDate property.</param> public static vw_aspnet_MembershipUser Createvw_aspnet_MembershipUser(global::System.Guid userId, global::System.Int32 passwordFormat, global::System.Boolean isApproved, global::System.Boolean isLockedOut, global::System.DateTime createDate, global::System.DateTime lastLoginDate, global::System.DateTime lastPasswordChangedDate, global::System.DateTime lastLockoutDate, global::System.Int32 failedPasswordAttemptCount, global::System.DateTime failedPasswordAttemptWindowStart, global::System.Int32 failedPasswordAnswerAttemptCount, global::System.DateTime failedPasswordAnswerAttemptWindowStart, global::System.Guid applicationId, global::System.String userName, global::System.Boolean isAnonymous, global::System.DateTime lastActivityDate) { vw_aspnet_MembershipUser vw_aspnet_MembershipUser = new vw_aspnet_MembershipUser(); vw_aspnet_MembershipUser.UserId = userId; vw_aspnet_MembershipUser.PasswordFormat = passwordFormat; vw_aspnet_MembershipUser.IsApproved = isApproved; vw_aspnet_MembershipUser.IsLockedOut = isLockedOut; vw_aspnet_MembershipUser.CreateDate = createDate; vw_aspnet_MembershipUser.LastLoginDate = lastLoginDate; vw_aspnet_MembershipUser.LastPasswordChangedDate = lastPasswordChangedDate; vw_aspnet_MembershipUser.LastLockoutDate = lastLockoutDate; vw_aspnet_MembershipUser.FailedPasswordAttemptCount = failedPasswordAttemptCount; vw_aspnet_MembershipUser.FailedPasswordAttemptWindowStart = failedPasswordAttemptWindowStart; vw_aspnet_MembershipUser.FailedPasswordAnswerAttemptCount = failedPasswordAnswerAttemptCount; vw_aspnet_MembershipUser.FailedPasswordAnswerAttemptWindowStart = failedPasswordAnswerAttemptWindowStart; vw_aspnet_MembershipUser.ApplicationId = applicationId; vw_aspnet_MembershipUser.UserName = userName; vw_aspnet_MembershipUser.IsAnonymous = isAnonymous; vw_aspnet_MembershipUser.LastActivityDate = lastActivityDate; return vw_aspnet_MembershipUser; }
/// <summary> /// Create a new type_order object. /// </summary> /// <param name="id_type">Initial value of the Id_type property.</param> /// <param name="type_name">Initial value of the type_name property.</param> public static type_order Createtype_order(global::System.Int32 id_type, global::System.String type_name) { type_order type_order = new type_order(); type_order.Id_type = id_type; type_order.type_name = type_name; return type_order; }
/// <summary> /// Create a new vw_aspnet_User object. /// </summary> /// <param name="applicationId">Initial value of the ApplicationId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="loweredUserName">Initial value of the LoweredUserName property.</param> /// <param name="isAnonymous">Initial value of the IsAnonymous property.</param> /// <param name="lastActivityDate">Initial value of the LastActivityDate property.</param> public static vw_aspnet_User Createvw_aspnet_User(global::System.Guid applicationId, global::System.Guid userId, global::System.String userName, global::System.String loweredUserName, global::System.Boolean isAnonymous, global::System.DateTime lastActivityDate) { vw_aspnet_User vw_aspnet_User = new vw_aspnet_User(); vw_aspnet_User.ApplicationId = applicationId; vw_aspnet_User.UserId = userId; vw_aspnet_User.UserName = userName; vw_aspnet_User.LoweredUserName = loweredUserName; vw_aspnet_User.IsAnonymous = isAnonymous; vw_aspnet_User.LastActivityDate = lastActivityDate; return vw_aspnet_User; }
/// <summary> /// Create a new io_devices object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="type">Initial value of the type property.</param> public static io_devices Createio_devices(global::System.Int32 id, global::System.String name, global::System.String type) { io_devices io_devices = new io_devices(); io_devices.id = id; io_devices.name = name; io_devices.type = type; return io_devices; }
/// <summary> /// Crie um novo objeto usuario. /// </summary> /// <param name="id">Valor inicial da propriedade id.</param> /// <param name="id_endereco">Valor inicial da propriedade id_endereco.</param> /// <param name="nome">Valor inicial da propriedade nome.</param> public static usuario Createusuario(global::System.Int32 id, global::System.Int32 id_endereco, global::System.String nome) { usuario usuario = new usuario(); usuario.id = id; usuario.id_endereco = id_endereco; usuario.nome = nome; return usuario; }
/// <summary> /// Create a new PurchaseOrder object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="maxValue">Initial value of the MaxValue property.</param> /// <param name="supplierId">Initial value of the SupplierId property.</param> /// <param name="status">Initial value of the Status property.</param> public static PurchaseOrder CreatePurchaseOrder(global::System.Int32 id, global::System.Decimal maxValue, global::System.Int32 supplierId, global::System.String status) { PurchaseOrder purchaseOrder = new PurchaseOrder(); purchaseOrder.Id = id; purchaseOrder.MaxValue = maxValue; purchaseOrder.SupplierId = supplierId; purchaseOrder.Status = status; return(purchaseOrder); }